Merge pull request #16676 from abitrolly/create-github-parsing
formula_creator: Fix GitHub parsing when name doesn't match URL
This commit is contained in:
commit
645cf35ae1
@ -56,10 +56,8 @@ module Homebrew
|
||||
when %r{github\.com/(\S+)/(\S+)\.git}
|
||||
@user = Regexp.last_match(1)
|
||||
@head = true
|
||||
@github = true
|
||||
when %r{github\.com/(\S+)/(\S+)/(archive|releases)/}
|
||||
@user = Regexp.last_match(1)
|
||||
@github = true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user