Skip to content

Commit ce23790

Browse files
authored
Merge pull request #20348 from osalbahr/skip-https-audit-for-curl-deps
utils/curl.rb: Skip https audit for curl dependencies
2 parents 55a578a + 6967322 commit ce23790

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Library/Homebrew/resource_auditor.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ def audit_urls
151151
raise HomebrewCurlDownloadStrategyError, url if
152152
strategy <= HomebrewCurlDownloadStrategy && !Formula["curl"].any_version_installed?
153153

154-
if (http_content_problem = curl_check_http_content(
154+
# Skip https audit for curl dependencies
155+
if !curl_dep && (http_content_problem = curl_check_http_content(
155156
url,
156157
"source URL",
157158
specs:,

0 commit comments

Comments
 (0)