brew tap: allow dashes in GitHub usernames
This commit is contained in:
parent
9d81b0d847
commit
827d263d01
@ -61,7 +61,7 @@ module Homebrew extend self
|
||||
private
|
||||
|
||||
def tap_args
|
||||
ARGV.first =~ %r{^(\w+)/(homebrew-)?(\w+)$}
|
||||
ARGV.first =~ %r{^(\S+)/(homebrew-)?(\w+)$}
|
||||
raise "Invalid usage" unless $1 and $3
|
||||
[$1, $3]
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user