From dde44ed37ccd28d69f8235cf343d4b1024018f4e Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Sun, 5 Feb 2023 16:10:22 +0100 Subject: [PATCH] Clarify cause of the bug in messaging Co-authored-by: Mike McQuaid --- Library/Homebrew/cask/cmd/upgrade.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/cmd/upgrade.rb b/Library/Homebrew/cask/cmd/upgrade.rb index d9221597ca..86051ba96b 100644 --- a/Library/Homebrew/cask/cmd/upgrade.rb +++ b/Library/Homebrew/cask/cmd/upgrade.rb @@ -150,7 +150,7 @@ module Cask if !c.installed_caskfile.exist? && c.tap.to_s == "homebrew/cask" && Homebrew::API::Cask.all_casks.key?(c.token) odie <<~EOS - The cask '#{c.token}' was not properly installed and cannot be upgraded. To fix this, run: + The cask '#{c.token}' was affected by a bug and cannot be upgraded as-is. To fix this, run: brew reinstall --cask --force #{c.token} EOS end