reject installed before to not print already up to date
This commit is contained in:
parent
ea240e5aad
commit
4e4617fd37
@ -354,6 +354,9 @@ module Homebrew
|
||||
#{skipped * "\n "}
|
||||
EOS
|
||||
end
|
||||
|
||||
upgradeable.reject! { |f| FormulaInstaller.installed.include?(f) }
|
||||
|
||||
# Print the upgradable dependents.
|
||||
if upgradeable.blank?
|
||||
ohai "No outdated dependents to upgrade!" unless dry_run
|
||||
@ -375,8 +378,6 @@ module Homebrew
|
||||
puts formulae_upgrades.join(", ")
|
||||
end
|
||||
|
||||
upgradeable.reject! { |f| FormulaInstaller.installed.include?(f) }
|
||||
|
||||
return if upgradeable.blank?
|
||||
|
||||
unless dry_run
|
||||
|
Loading…
x
Reference in New Issue
Block a user