Merge pull request #20695 from Homebrew/min-os

cask/audit: always run min_os audit
This commit is contained in:
Bevan Kay authored and GitHub committed 2025-09-16 08:11:44 +00:00
commit b5fb1b5edd
1 file changed
+1 -3
+1 -3
View File
@@ -768,7 +768,6 @@ module Cask
sig { void }
def audit_min_os
return unless online?
return unless strict?
odebug "Auditing minimum macOS version"
@@ -811,8 +810,7 @@ module Cask
end
source = T.must(bundle_min_os.to_s <=> sparkle_min_os.to_s).positive? ? "Artifact" : "Upstream"
add_error "#{source} defined #{app_min_os.to_sym.inspect} as the minimum macOS version " \
"but the cask declared #{min_os_definition}",
strict_only: true
"but the cask declared #{min_os_definition}"
end
sig { returns(T.nilable(MacOSVersion)) }