aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSHIBATA Hiroshi2017-04-07 10:26:00 +0900
committerSHIBATA Hiroshi2017-04-11 09:43:41 +0900
commitb7ce111d0045c5f2cf3557b7522f16ff350f07a5 (patch)
tree612a452634a32e1996795f6625084d9cc493f5c8 /Library
parentd84655efb9dba5840d75e08da5b69f5fd0c56744 (diff)
downloadbrew-b7ce111d0045c5f2cf3557b7522f16ff350f07a5.tar.bz2
formulary: Workaround for method missing for downcase on Pathname object.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formulary.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb
index 4a65f8704..9401f57cb 100644
--- a/Library/Homebrew/formulary.rb
+++ b/Library/Homebrew/formulary.rb
@@ -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",