Allow dashes in tap-formula names
This commit is contained in:
parent
2ed0240cb1
commit
fe9e2be8fe
@ -31,7 +31,7 @@ class FormulaUnavailableError < RuntimeError
|
|||||||
end
|
end
|
||||||
|
|
||||||
def to_s
|
def to_s
|
||||||
if name =~ %r{(\w+)/(\w+)/(\w+)} then <<-EOS.undent
|
if name =~ %r{(\w+)/(\w+)/([^/]+)} then <<-EOS.undent
|
||||||
No available formula for #$3 #{dependent_s}
|
No available formula for #$3 #{dependent_s}
|
||||||
Please tap it and then try again: brew tap #$1/#$2
|
Please tap it and then try again: brew tap #$1/#$2
|
||||||
EOS
|
EOS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user