aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJCount2017-04-10 21:18:45 -0400
committerGitHub2017-04-10 21:18:45 -0400
commitd3636442213c64c4c46d954fd5db37d361bd5617 (patch)
tree1e8d5becbd1acceef1010eeb228338809fb10579 /Library
parent4d6e31999aa69d8498c87ceacc7fddaa5e3c409b (diff)
parentb7ce111d0045c5f2cf3557b7522f16ff350f07a5 (diff)
downloadbrew-d3636442213c64c4c46d954fd5db37d361bd5617.tar.bz2
Merge pull request #2461 from hsbt/workaround-downcase-with-pathname
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",