formulary: Workaround for method missing for downcase on Pathname object.
This commit is contained in:
parent
d84655efb9
commit
b7ce111d00
@ -402,7 +402,7 @@ module Formulary
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.tap_paths(name, taps = Dir["#{HOMEBREW_LIBRARY}/Taps/*/*/"])
|
def self.tap_paths(name, taps = Dir["#{HOMEBREW_LIBRARY}/Taps/*/*/"])
|
||||||
name = name.downcase
|
name = name.to_s.downcase
|
||||||
taps.map do |tap|
|
taps.map do |tap|
|
||||||
Pathname.glob([
|
Pathname.glob([
|
||||||
"#{tap}Formula/#{name}.rb",
|
"#{tap}Formula/#{name}.rb",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user