audit: make min OS check depend on online?

This commit is contained in:
Sean Molenaar 2022-10-31 09:00:43 +01:00 committed by GitHub
parent b27aeb8f94
commit 73d124f342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -546,6 +546,7 @@ module Cask
end end
def check_livecheck_min_os def check_livecheck_min_os
return unless online?
return unless cask.livecheckable? return unless cask.livecheckable?
return unless cask.livecheck.strategy == :sparkle return unless cask.livecheck.strategy == :sparkle