cask/audit: improve sparkle minimum version audit

This commit is contained in:
Bevan Kay 2022-12-28 15:18:59 +11:00
parent f3e5f17f91
commit 3e11f315f7
No known key found for this signature in database
GPG Key ID: C55CB024B5314B57

View File

@ -583,7 +583,7 @@ module Cask
return if cask_min_os == min_os_string
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 #{cask_min_os ? cask_min_.to_sym.inspect : "no minimal OS version"}."
end
sig { void }