From e24703e58d2f9a212d85811b0e3cb42b28a586ac Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Sat, 9 Oct 2021 13:01:09 -0400 Subject: [PATCH] Rename `:cert_error_allowlist` to `:secure_connection_audit_skiplist` --- Library/Homebrew/cask/audit.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index cdac90e693..2715d1df3c 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -754,12 +754,12 @@ module Cask def check_url_for_https_availability(url_to_check, url_type, cask_token, tap, **options) problem = curl_check_http_content(url_to_check.to_s, url_type, **options) - exception = tap&.audit_exception(:cert_error_allowlist, cask_token, url_to_check.to_s) + exception = tap&.audit_exception(:secure_connection_audit_skiplist, cask_token, url_to_check.to_s) if problem add_error problem unless exception elsif exception - add_error "#{url_to_check} is in the certificate error allowlist but does not have a certificate error" + add_error "#{url_to_check} is in the secure connection audit skiplist but does not need to be skipped" end end end