audit: do not warn about reachability of brew mirror
ed URL
A `brew mirror`ed URL is usually not yet reachable at the time of pull request.
This commit is contained in:
parent
56ee2460f1
commit
475cade1a3
@ -1566,6 +1566,9 @@ class ResourceAuditor
|
||||
|
||||
strategy = DownloadStrategyDetector.detect(url, using)
|
||||
if strategy <= CurlDownloadStrategy && !url.start_with?("file")
|
||||
# A `brew mirror`'ed URL is usually not yet reachable at the time of
|
||||
# pull request.
|
||||
next if url =~ %r{^https://dl.bintray.com/homebrew/mirror/}
|
||||
if http_content_problem = FormulaAuditor.check_http_content(url)
|
||||
problem http_content_problem
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user