diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index 69479bd12f59c..bcf8d65f39f0e 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -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 }