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 "}
|
#{skipped * "\n "}
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
|
upgradeable.reject! { |f| FormulaInstaller.installed.include?(f) }
|
||||||
|
|
||||||
# Print the upgradable dependents.
|
# Print the upgradable dependents.
|
||||||
if upgradeable.blank?
|
if upgradeable.blank?
|
||||||
ohai "No outdated dependents to upgrade!" unless dry_run
|
ohai "No outdated dependents to upgrade!" unless dry_run
|
||||||
@ -375,8 +378,6 @@ module Homebrew
|
|||||||
puts formulae_upgrades.join(", ")
|
puts formulae_upgrades.join(", ")
|
||||||
end
|
end
|
||||||
|
|
||||||
upgradeable.reject! { |f| FormulaInstaller.installed.include?(f) }
|
|
||||||
|
|
||||||
return if upgradeable.blank?
|
return if upgradeable.blank?
|
||||||
|
|
||||||
unless dry_run
|
unless dry_run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user