aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-10-22 11:58:33 +0100
committerMike McQuaid2013-10-22 11:58:40 +0100
commite6cf7be461bfac3670beb42661be495c90398dc9 (patch)
treebdb90656195afdf5625a6a39bd11132b73a7d2ab /Library/Homebrew/exceptions.rb
parentcf1211dfac85ec342a8c5a24cd796d6e5720a289 (diff)
downloadhomebrew-e6cf7be461bfac3670beb42661be495c90398dc9.tar.bz2
Different regex for user/tap/formula and user/tap.
Closes #23430.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 9764879bd..92b1a4177 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -44,7 +44,7 @@ class FormulaUnavailableError < RuntimeError
end
def to_s
- if name =~ HOMEBREW_TAP_REGEX then <<-EOS.undent
+ if name =~ HOMEBREW_TAP_FORMULA_REGEX then <<-EOS.undent
No available formula for #$3 #{dependent_s}
Please tap it and then try again: brew tap #$1/#$2
EOS