diagnostic: improve cask quarantine messaging.

I'm now getting "Unknown support status" on 12.6 and it's not obvious at
all what's outputting this and why.
This commit is contained in:
Mike McQuaid 2022-09-14 12:32:26 +01:00
parent 91f8485b9f
commit 14629216ba
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -1049,11 +1049,11 @@ module Homebrew
when :quarantine_available
nil
when :xattr_broken
"There's no working version of `xattr` on this system."
"No Cask quarantine support available: there's no working version of `xattr` on this system."
when :no_swift
"Swift is not available on this system."
"No Cask quarantine support available: there's no available version of `swift` on this system."
else
"Unknown support status"
"No Cask quarantine support available: unknown reason."
end
end