resolving discussions

This commit is contained in:
thibhero 2025-06-11 22:41:22 -04:00
parent fb5ddde5ad
commit d525e25e99

View File

@ -285,10 +285,10 @@ module Homebrew
end
return
end
if dry_run || ask
installed_formulae = formulae.dup
installed_formulae = if dry_run || ask
formulae.dup
else
installed_formulae = FormulaInstaller.installed.to_a.dup
FormulaInstaller.installed.to_a.dup
end
installed_formulae.reject! { |f| f.core_formula? && f.versioned_formula? }
return if installed_formulae.empty?