Merge pull request #12354 from carlocab/curl-resource-audit
formula_auditor: respect `using: :homebrew_curl` in resources too
This commit is contained in:
commit
ac4ff94b76
@ -553,7 +553,8 @@ module Homebrew
|
|||||||
|
|
||||||
ra = ResourceAuditor.new(
|
ra = ResourceAuditor.new(
|
||||||
resource, spec_name,
|
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
|
).audit
|
||||||
ra.problems.each do |message|
|
ra.problems.each do |message|
|
||||||
problem "#{name} resource #{resource.name.inspect}: #{message}"
|
problem "#{name} resource #{resource.name.inspect}: #{message}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user