Skip to content
Snippets Groups Projects
Unverified Commit 01d1a671 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #8761 from scpeters/uniq_outdated_dependents

upgrade: deduplicate list of outdated dependents
parents fd4ed351 c0463132
No related branches found
No related tags found
No related merge requests found
......@@ -142,6 +142,7 @@ module Homebrew
outdated_dependents =
installed_formulae.flat_map(&:runtime_installed_formula_dependents)
.uniq
.select(&:outdated?)
return if outdated_dependents.blank? && already_broken_dependents.blank?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment