Audit: stop warning about Github .patch URLs

These no longer have a git version appended; e.g.:
ddb966061f.patch
This commit is contained in:
Misty De Meo 2015-05-12 20:16:38 -07:00
parent ff11789933
commit ce6885e784

View File

@ -379,8 +379,6 @@ class FormulaAuditor
problem "Patches from MacPorts Trac should be https://, not http:\n#{patch.url}" problem "Patches from MacPorts Trac should be https://, not http:\n#{patch.url}"
when %r[^http://bugs\.debian\.org] when %r[^http://bugs\.debian\.org]
problem "Patches from Debian should be https://, not http:\n#{patch.url}" problem "Patches from Debian should be https://, not http:\n#{patch.url}"
when %r[^https?://github\.com/.*commit.*\.patch$]
problem "GitHub appends a git version to patches; use .diff instead."
end end
end end