formulary: Workaround for method missing for downcase on Pathname object.

This commit is contained in:
SHIBATA Hiroshi 2017-04-07 10:26:00 +09:00
parent d84655efb9
commit b7ce111d00
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

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