cask/quarantine: fix quarantine support

This commit is contained in:
Bevan Kay 2025-08-14 12:51:59 +10:00
parent ac160c7f88
commit ce49855b3e
No known key found for this signature in database
GPG Key ID: C55CB024B5314B57

View File

@ -88,9 +88,9 @@ module Cask
sig { returns(T::Boolean) } sig { returns(T::Boolean) }
def self.available? def self.available?
@status ||= check_quarantine_support @quarantine_support ||= check_quarantine_support
@status == :quarantine_available @quarantine_support[0] == :quarantine_available
end end
def self.detect(file) def self.detect(file)