Skip to content

Commit

Permalink
Merge pull request #14298 from bevanjkay/improve-cask-audit
Browse files Browse the repository at this point in the history
cask/audit: improve sparkle minimum version audit
  • Loading branch information
Rylan12 authored Dec 28, 2022
2 parents bbc475f + c45a32e commit de0e9b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/cask/audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,9 @@ def check_livecheck_min_os

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 }
Expand Down

0 comments on commit de0e9b0

Please sign in to comment.