Merge pull request #12354 from carlocab/curl-resource-audit

formula_auditor: respect `using: :homebrew_curl` in resources too
This commit is contained in:
Carlo Cabrera 2021-11-01 21:13:30 +08:00 committed by GitHub
commit ac4ff94b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -553,7 +553,8 @@ module Homebrew
ra = ResourceAuditor.new(
resource, spec_name,
online: @online, strict: @strict, only: @only, except: @except
online: @online, strict: @strict, only: @only, except: @except,
use_homebrew_curl: resource.using == :homebrew_curl
).audit
ra.problems.each do |message|
problem "#{name} resource #{resource.name.inspect}: #{message}"