From 23ec8e07d416a566e3bc2d1164390209c79cb602 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 21 Oct 2017 19:57:01 +0200 Subject: [PATCH] Use `/` to join path. --- Library/Homebrew/formulary.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 7eb85ed97d..1b1987717a 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -422,7 +422,7 @@ module Formulary CoreTap.instance.formula_dir/"#{name.to_s.downcase}.rb" end - def self.tap_paths(name, taps = Dir["#{HOMEBREW_LIBRARY}/Taps/*/*/"]) + def self.tap_paths(name, taps = Dir[HOMEBREW_LIBRARY/"Taps/*/*/"]) name = name.to_s.downcase taps.map do |tap| Pathname.glob([