always include

This commit is contained in:
thibhero 2025-03-06 22:32:51 -05:00
parent 8506f1901a
commit 0b302dc3ad

View File

@ -406,8 +406,8 @@ module Homebrew
# 3. Optionally, any installed formula that depends on one of these and is outdated.
def compute_sized_formulae(formulae, args:)
sized_formulae = formulae.flat_map do |formula|
# Always include the formula itself if bottled.
formula_list = formula.bottled? ? [formula] : []
# Always include the formula itself.
formula_list = [formula]
deps = args.build_from_source? ? formula.deps.build : formula.deps.required
# If there are dependencies, try to gather outdated, bottled ones.