aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-31 21:33:37 -0500
committerJack Nagel2014-03-31 21:33:37 -0500
commitb29be4c9a594f03757a3d64650c0fa186c73cb1d (patch)
treecc6918acf442876521d3eb5e078a655cb5f7f9bb /Library
parent75af625c17867d6336096e43dadf5a668e3f436b (diff)
downloadbrew-b29be4c9a594f03757a3d64650c0fa186c73cb1d.tar.bz2
Remove default value from Keg#link_dir mode parameter
Now that this is always called with an explicit mode argument, let's make sure it stays that way.
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 ab8a45300..1d0d14e7e 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -255,7 +255,7 @@ class Keg < Pathname
end
# symlinks the contents of self+foo recursively into #{HOMEBREW_PREFIX}/foo
- def link_dir foo, mode=OpenStruct.new
+ def link_dir foo, mode
root = self+foo
return unless root.exist?
root.find do |src|