Skip to content

Commit adaf30a

Browse files
committed
cask/audit: always run min_os audit
1 parent 1a38b81 commit adaf30a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Library/Homebrew/cask/audit.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,6 @@ def audit_livecheck_version
768768
sig { void }
769769
def audit_min_os
770770
return unless online?
771-
return unless strict?
772771

773772
odebug "Auditing minimum macOS version"
774773

@@ -811,8 +810,7 @@ def audit_min_os
811810
end
812811
source = T.must(bundle_min_os.to_s <=> sparkle_min_os.to_s).positive? ? "Artifact" : "Upstream"
813812
add_error "#{source} defined #{app_min_os.to_sym.inspect} as the minimum macOS version " \
814-
"but the cask declared #{min_os_definition}",
815-
strict_only: true
813+
"but the cask declared #{min_os_definition}"
816814
end
817815

818816
sig { returns(T.nilable(MacOSVersion)) }

0 commit comments

Comments
 (0)