Merge pull request #15921 from EricFromCanada/cask-url-audit

cask/audit: format-check block URLs only if online
This commit is contained in:
Mike McQuaid 2023-08-30 09:04:39 +01:00 committed by GitHub
commit 34f13db657
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -311,6 +311,7 @@ module Cask
sig { void }
def audit_download_url_format
return unless cask.url
return if block_url_offline?
odebug "Auditing URL format"
if bad_sourceforge_url?