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.
This commit is contained in:
parent
75af625c17
commit
b29be4c9a5
@ -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|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user