Merge pull request #14298 from bevanjkay/improve-cask-audit

cask/audit: improve sparkle minimum version audit
This commit is contained in:
Rylan Polster 2022-12-28 01:40:08 -05:00 committed by GitHub
commit de0e9b09b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -582,8 +582,9 @@ module Cask
return if cask_min_os == min_os_string
min_os_symbol = cask_min_os&.to_sym.inspect || "no minimal OS version"
add_error "Upstream defined #{min_os_string.to_sym.inspect} as minimal OS version " \
"and the cask defined #{cask_min_os.to_sym.inspect}"
"and the cask defined #{min_os_symbol}"
end
sig { void }