Skip to content

Commit

Permalink
Fix cask loading from the API
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin <[email protected]>
  • Loading branch information
Rylan12 and apainintheneck committed Dec 17, 2023
1 parent c5f33aa commit 472dd95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/cask_loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def load(config:)

if (disable_date = json_cask[:disable_date].presence)
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

auto_updates json_cask[:auto_updates] unless json_cask[:auto_updates].nil?
Expand Down

0 comments on commit 472dd95

Please sign in to comment.