From 472dd95b1699a97fd93736c25a25c27377c8a5bf Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Sat, 16 Dec 2023 20:08:26 -0500 Subject: [PATCH] Fix cask loading from the API Co-authored-by: Kevin --- Library/Homebrew/cask/cask_loader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/cask_loader.rb b/Library/Homebrew/cask/cask_loader.rb index 93332576ba0b0..53d2183816f22 100644 --- a/Library/Homebrew/cask/cask_loader.rb +++ b/Library/Homebrew/cask/cask_loader.rb @@ -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?