Use module Compat style.

This commit is contained in:
Markus Reiter 2018-05-17 19:17:41 +02:00
parent c623b0295c
commit deaa8bf003

View File

@ -1,4 +1,5 @@
module CaskTapMigration
class Tap
module Compat
def initialize(user, repo)
super
@ -31,8 +32,7 @@ module CaskTapMigration
puts "Changing remote from #{old_remote} to #{new_remote}..." if $stdout.tty?
new_path.git_origin = new_remote
end
end
end
class Tap
prepend CaskTapMigration
prepend Compat
end