diff options
| author | Jack Nagel | 2014-03-31 21:33:37 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-31 21:33:37 -0500 |
| commit | b29be4c9a594f03757a3d64650c0fa186c73cb1d (patch) | |
| tree | cc6918acf442876521d3eb5e078a655cb5f7f9bb /Library | |
| parent | 75af625c17867d6336096e43dadf5a668e3f436b (diff) | |
| download | brew-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.rb | 2 |
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| |
