Skip to content

Commit 9991345

Browse files
authored
Merge pull request #20813 from Homebrew/cask/audit-only-use-sparkle_min_os-as-fallback
audit_min_os: only use sparkle_min_os as fallback
2 parents 43fa5f5 + 20c55f6 commit 9991345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/Homebrew/cask/audit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ def audit_min_os
774774
bundle_min_os = cask_bundle_min_os
775775
sparkle_min_os = cask_sparkle_min_os
776776

777-
app_min_os = [bundle_min_os, sparkle_min_os].compact.max
777+
app_min_os = bundle_min_os || sparkle_min_os
778778
debug_messages = []
779779
debug_messages << "from artifact: #{bundle_min_os.to_sym}" if bundle_min_os
780780
debug_messages << "from upstream: #{sparkle_min_os.to_sym}" if sparkle_min_os

0 commit comments

Comments
 (0)