audit: fix check_http_content args.

This commit is contained in:
Mike McQuaid 2017-09-15 10:17:40 +01:00
parent dce8938373
commit 2e43d95498

View File

@ -1206,7 +1206,7 @@ class ResourceAuditor
# A `brew mirror`'ed URL is usually not yet reachable at the time of # A `brew mirror`'ed URL is usually not yet reachable at the time of
# pull request. # pull request.
next if url =~ %r{^https://dl.bintray.com/homebrew/mirror/} next if url =~ %r{^https://dl.bintray.com/homebrew/mirror/}
if http_content_problem = FormulaAuditor.check_http_content(url, name, require_http: require_http) if http_content_problem = FormulaAuditor.check_http_content(url, require_http: require_http)
problem http_content_problem problem http_content_problem
end end
elsif strategy <= GitDownloadStrategy elsif strategy <= GitDownloadStrategy