cask/quarantine: fix quarantine support
This commit is contained in:
parent
ac160c7f88
commit
ce49855b3e
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user