cask/audit: format-check block URLs only if online

This commit is contained in:
Eric Knibbe 2023-08-29 17:10:40 -04:00
parent 98094739c6
commit 686638b683
No known key found for this signature in database
GPG Key ID: 179D9CDDDB814168

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?