Fix keg method visibility
Only link_dir needs to be protected
This commit is contained in:
parent
001b2ee471
commit
64d5aef0bc
@ -276,7 +276,7 @@ class Keg < Pathname
|
||||
find { |pn| pn.delete if pn.extname == ".pyc" }
|
||||
end
|
||||
|
||||
protected
|
||||
private
|
||||
|
||||
def resolve_any_conflicts dst, mode
|
||||
# if it isn't a directory then a severe conflict is about to happen. Let
|
||||
@ -330,6 +330,8 @@ class Keg < Pathname
|
||||
raise LinkError.new(self, src, dst)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
# symlinks the contents of self+foo recursively into #{HOMEBREW_PREFIX}/foo
|
||||
def link_dir foo, mode
|
||||
root = self+foo
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user