Fix cask loading from the API
Co-authored-by: Kevin <apainintheneck@gmail.com>
This commit is contained in:
parent
c5f33aaf99
commit
472dd95b16
@ -293,7 +293,7 @@ module Cask
|
|||||||
|
|
||||||
if (disable_date = json_cask[:disable_date].presence)
|
if (disable_date = json_cask[:disable_date].presence)
|
||||||
reason = DeprecateDisable.to_reason_string_or_symbol json_cask[:disable_reason], type: :cask
|
reason = DeprecateDisable.to_reason_string_or_symbol json_cask[:disable_reason], type: :cask
|
||||||
deprecate! date: disable_date, because: reason
|
disable! date: disable_date, because: reason
|
||||||
end
|
end
|
||||||
|
|
||||||
auto_updates json_cask[:auto_updates] unless json_cask[:auto_updates].nil?
|
auto_updates json_cask[:auto_updates] unless json_cask[:auto_updates].nil?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user