brew unbottled: skip deprecated formulae

We are not interested in bottling them
This commit is contained in:
Michka Popoff 2023-10-16 22:20:48 +02:00
parent c0c8a4dd4d
commit 651cef6f6b
No known key found for this signature in database
GPG Key ID: 033D03F151030611

View File

@ -137,6 +137,10 @@ module Homebrew
all_formulae = Formula.all(eval_all: args.eval_all?)
end
# Remove deprecated formulae as we do not care if they are unbottled
formulae = formulae&.select {|formula| !(formula.deprecated?)}
all_formulae = all_formulae&.select {|formula| !(formula.deprecated?)}
[formulae, all_formulae, formula_installs]
end