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:
JCount 2017-04-10 21:18:45 -04:00 committed by GitHub
commit d363644221

View File

@ -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",