Merge pull request #14298 from bevanjkay/improve-cask-audit
cask/audit: improve sparkle minimum version audit
This commit is contained in:
commit
de0e9b09b4
@ -582,8 +582,9 @@ module Cask
|
|||||||
|
|
||||||
return if cask_min_os == min_os_string
|
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 " \
|
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
|
end
|
||||||
|
|
||||||
sig { void }
|
sig { void }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user