aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-30 21:56:46 -0500
committerJack Nagel2014-06-30 22:14:18 -0500
commitc2228c0d0f266b5984530ffc169ba247c5f18037 (patch)
treee2e8cc3da305801c30f88f9884e4c21f5916d1e8 /Library
parent4ea3997d9c29d37befb415a5e9b3e3f88b184fff (diff)
downloadbrew-c2228c0d0f266b5984530ffc169ba247c5f18037.tar.bz2
Remove default argument from make_relative_symlink
All callers of this method now pass a mode object.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index 3e458d2e9..5ab59a841 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -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