diff options
| author | Mike McQuaid | 2017-10-08 13:41:15 -0700 | 
|---|---|---|
| committer | GitHub | 2017-10-08 13:41:15 -0700 | 
| commit | 56458f03fcc68ef6d8ee3ee4a7c1d16021aa5800 (patch) | |
| tree | b76c02443eb8954cb598c594b9e18370b23d73d7 /Library/Homebrew/dev-cmd/audit.rb | |
| parent | b806a53d88938ab2d2aeb5e96651ed6d47efcdf9 (diff) | |
| parent | 53dd0e3f28655f9e0ba93139cd832408542b6f12 (diff) | |
| download | brew-56458f03fcc68ef6d8ee3ee4a7c1d16021aa5800.tar.bz2 | |
Merge pull request #3277 from sjackman/audit-notable
audit: Silence not notable on non-Homebrew taps
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 6afd1f802..200b2597f 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -592,7 +592,8 @@ class FormulaAuditor      return if metadata.nil?      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)        problem "GitHub repository not notable enough (<20 forks, <20 watchers and <50 stars)"      end  | 
