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