mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
repair brew outdated --greedy
This commit is contained in:
parent
22f4c3900d
commit
f0d29d6d49
@ -93,6 +93,8 @@ module Homebrew
|
|||||||
def print_outdated(formulae_or_casks, args:)
|
def print_outdated(formulae_or_casks, args:)
|
||||||
formulae_or_casks.each do |formula_or_cask|
|
formulae_or_casks.each do |formula_or_cask|
|
||||||
if formula_or_cask.is_a?(Formula)
|
if formula_or_cask.is_a?(Formula)
|
||||||
|
next if args.greedy? || args.greedy_latest? || args.greedy_auto_updates?
|
||||||
|
|
||||||
f = formula_or_cask
|
f = formula_or_cask
|
||||||
|
|
||||||
if verbose?
|
if verbose?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user