mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
parent
41a810b2e0
commit
05ffff09ed
@ -15,6 +15,7 @@ module Cask
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
class Audit
|
class Audit
|
||||||
|
include ::Utils::Curl
|
||||||
extend Predicable
|
extend Predicable
|
||||||
|
|
||||||
attr_reader :cask, :download
|
attr_reader :cask, :download
|
||||||
@ -734,7 +735,7 @@ module Cask
|
|||||||
# options: T.untyped).void
|
# options: T.untyped).void
|
||||||
# }
|
# }
|
||||||
def validate_url_for_https_availability(url_to_check, url_type, cask_token, tap, location: nil, **options)
|
def validate_url_for_https_availability(url_to_check, url_type, cask_token, tap, location: nil, **options)
|
||||||
problem = ::Utils::Curl.curl_check_http_content(url_to_check.to_s, url_type, **options)
|
problem = curl_check_http_content(url_to_check.to_s, url_type, **options)
|
||||||
exception = tap&.audit_exception(:secure_connection_audit_skiplist, cask_token, url_to_check.to_s)
|
exception = tap&.audit_exception(:secure_connection_audit_skiplist, cask_token, url_to_check.to_s)
|
||||||
|
|
||||||
if problem
|
if problem
|
||||||
|
Loading…
x
Reference in New Issue
Block a user