From 6b155d9328704ee8bafd0f02bb07fe6da03eb6bd Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Sat, 28 May 2022 10:14:51 +1000 Subject: [PATCH] Update Library/Homebrew/cask/cask.rb Co-authored-by: Mike McQuaid --- Library/Homebrew/cask/cask.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/cask.rb b/Library/Homebrew/cask/cask.rb index 5e0d625615..a7aa6a8ef4 100644 --- a/Library/Homebrew/cask/cask.rb +++ b/Library/Homebrew/cask/cask.rb @@ -170,7 +170,7 @@ module Cask return versions if (greedy || greedy_latest) && outdated_download_sha? return [] - elsif auto_updates && !(greedy || greedy_auto_updates) + elsif auto_updates && !greedy && !greedy_auto_updates return [] end