Remove debian mirror check; it is just noise
This commit is contained in:
parent
1e17a8fb0b
commit
cbdb603838
@ -209,15 +209,6 @@ def audit_formula_urls f
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Check Debian urls
|
|
||||||
urls.each do |p|
|
|
||||||
next unless p =~ %r[/debian/pool/]
|
|
||||||
|
|
||||||
unless p =~ %r[^http://mirrors\.kernel\.org/debian/pool/]
|
|
||||||
problems << " * \"mirrors.kernel.org\" is the preferred mirror for debian software."
|
|
||||||
end
|
|
||||||
end if strict?
|
|
||||||
|
|
||||||
# Check for git:// urls; https:// is preferred.
|
# Check for git:// urls; https:// is preferred.
|
||||||
urls.each do |p|
|
urls.each do |p|
|
||||||
if p =~ %r[^git://github\.com/]
|
if p =~ %r[^git://github\.com/]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user