From f0d29d6d49fda0796f1cb7d686e4ce87b0ef6d5b Mon Sep 17 00:00:00 2001 From: hyuraku <32809703+hyuraku@users.noreply.github.com> Date: Wed, 15 Jun 2022 21:53:15 +0900 Subject: [PATCH] repair brew outdated --greedy --- Library/Homebrew/cmd/outdated.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb index 568bf925ae..e2424c6513 100644 --- a/Library/Homebrew/cmd/outdated.rb +++ b/Library/Homebrew/cmd/outdated.rb @@ -93,6 +93,8 @@ module Homebrew def print_outdated(formulae_or_casks, args:) formulae_or_casks.each do |formula_or_cask| if formula_or_cask.is_a?(Formula) + next if args.greedy? || args.greedy_latest? || args.greedy_auto_updates? + f = formula_or_cask if verbose?