audit: also search head url to get repo data
This commit is contained in:
parent
ea47dce9ee
commit
b037dfc147
@ -559,6 +559,7 @@ module Homebrew
|
|||||||
|
|
||||||
_, user, repo = *regex.match(formula.stable.url) if formula.stable
|
_, user, repo = *regex.match(formula.stable.url) if formula.stable
|
||||||
_, user, repo = *regex.match(formula.homepage) unless user
|
_, user, repo = *regex.match(formula.homepage) unless user
|
||||||
|
_, user, repo = *regex.match(formula.head.url) if !user && formula.head
|
||||||
return if !user || !repo
|
return if !user || !repo
|
||||||
|
|
||||||
repo.delete_suffix!(".git")
|
repo.delete_suffix!(".git")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user