diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index 594843a2fd..8a0ce7687a 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -734,7 +734,7 @@ module Cask # options: T.untyped).void # } def validate_url_for_https_availability(url_to_check, url_type, cask_token, tap, location: nil, **options) - problem = curl_check_http_content(url_to_check.to_s, url_type, **options) + problem = ::Utils::Curl.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) if problem diff --git a/Library/Homebrew/github_packages.rb b/Library/Homebrew/github_packages.rb index bc74d0fab2..0bc6b677a0 100644 --- a/Library/Homebrew/github_packages.rb +++ b/Library/Homebrew/github_packages.rb @@ -164,7 +164,7 @@ class GitHubPackages # Going forward, this should probably be pinned to tags. # We currently use features newer than the last one (v1.0.2). url = "https://raw.githubusercontent.com/opencontainers/image-spec/170393e57ed656f7f81c3070bfa8c3346eaa0a5a/schema/#{basename}.json" - out, = curl_output(url) + out, = Utils::Curl.curl_output(url) json = JSON.parse(out) @schema_json ||= {}