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 end
return return
end end
if dry_run || ask installed_formulae = if dry_run || ask
installed_formulae = formulae.dup formulae.dup
else else
installed_formulae = FormulaInstaller.installed.to_a.dup FormulaInstaller.installed.to_a.dup
end end
installed_formulae.reject! { |f| f.core_formula? && f.versioned_formula? } installed_formulae.reject! { |f| f.core_formula? && f.versioned_formula? }
return if installed_formulae.empty? return if installed_formulae.empty?