Remove default argument from make_relative_symlink
All callers of this method now pass a mode object.
This commit is contained in:
parent
4ea3997d9c
commit
c2228c0d0f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user