Remove default argument from make_relative_symlink

All callers of this method now pass a mode object.
This commit is contained in:
Jack Nagel 2014-06-30 21:56:46 -05:00
parent 4ea3997d9c
commit c2228c0d0f

View File

@ -336,7 +336,7 @@ class Keg
puts "Won't resolve conflicts for symlink #{dst} as it doesn't resolve into the Cellar" if ARGV.verbose?
end
def make_relative_symlink dst, src, mode=OpenStruct.new
def make_relative_symlink dst, src, mode
if dst.symlink? && dst.exist? && dst.resolved_path == src
puts "Skipping; link already exists: #{dst}" if ARGV.verbose?
return