Merge pull request #3277 from sjackman/audit-notable
audit: Silence not notable on non-Homebrew taps
This commit is contained in:
commit
56458f03fc
@ -592,7 +592,8 @@ class FormulaAuditor
|
|||||||
return if metadata.nil?
|
return if metadata.nil?
|
||||||
|
|
||||||
problem "GitHub fork (not canonical repository)" if metadata["fork"]
|
problem "GitHub fork (not canonical repository)" if metadata["fork"]
|
||||||
if (metadata["forks_count"] < 20) && (metadata["subscribers_count"] < 20) &&
|
if formula&.tap&.core_tap? &&
|
||||||
|
(metadata["forks_count"] < 20) && (metadata["subscribers_count"] < 20) &&
|
||||||
(metadata["stargazers_count"] < 50)
|
(metadata["stargazers_count"] < 50)
|
||||||
problem "GitHub repository not notable enough (<20 forks, <20 watchers and <50 stars)"
|
problem "GitHub repository not notable enough (<20 forks, <20 watchers and <50 stars)"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user