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
commit98b28f5ac3bf63efc82c915e3055940d08716d0f (patch)
treee7e5076a519c5d6cdec80ba381f22b898ae98138 /Library/Homebrew/exceptions.rb
parentde871a4daf4947593c87ea2958e842741d9757ad (diff)
downloadbrew-98b28f5ac3bf63efc82c915e3055940d08716d0f.tar.bz2
Different regex for user/tap/formula and user/tap.
Closes Homebrew/homebrew#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