Skip to content
Snippets Groups Projects
Commit 7846ed4f authored by Mike McQuaid's avatar Mike McQuaid
Browse files

audit: don't warn about tarball in non-GitHub URL.

parent 0d898edc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment