diff options
| author | Mike McQuaid | 2014-03-25 16:14:03 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-25 16:14:03 +0000 |
| commit | 7846ed4f768ccdfebadf9f12130762efc9f5e348 (patch) | |
| tree | 58d019f382f57bdb8439033e1fb1824b45bdd883 /Library/Homebrew/cmd | |
| parent | 0d898edc3761dd2675d86c436a589be49407d55b (diff) | |
| download | brew-7846ed4f768ccdfebadf9f12130762efc9f5e348.tar.bz2 | |
audit: don't warn about tarball in non-GitHub URL.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 3fafa7f11..ed97b01a8 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -267,7 +267,7 @@ class FormulaAuditor end # Use new-style archive downloads - urls.select { |u| u =~ %r[https://.*/(?:tar|zip)ball/] && u !~ %r[\.git$] }.each do |u| + urls.select { |u| u =~ %r[https://.*github.*/(?:tar|zip)ball/] && u !~ %r[\.git$] }.each do |u| problem "Use /archive/ URLs for GitHub tarballs (url is #{u})." end |
