Don't walk tap twice just to get the formula path again, it's slow
This commit is contained in:
parent
621bb0049f
commit
63d0a5bf75
@ -16,7 +16,7 @@ else
|
||||
tap = Pathname("#{HOMEBREW_LIBRARY}/Taps/#{tap_dir}")
|
||||
raise "#{tap} does not exist!" unless tap.exist?
|
||||
tap.find_formula do |f|
|
||||
formulae << (tap/f).tap_ref
|
||||
formulae << tap/f
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user