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?
|
puts "Won't resolve conflicts for symlink #{dst} as it doesn't resolve into the Cellar" if ARGV.verbose?
|
||||||
end
|
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
|
if dst.symlink? && dst.exist? && dst.resolved_path == src
|
||||||
puts "Skipping; link already exists: #{dst}" if ARGV.verbose?
|
puts "Skipping; link already exists: #{dst}" if ARGV.verbose?
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user