Skip to content

Commit

Permalink
Merge pull request #7903 from Bo98/upgrade-error
Browse files Browse the repository at this point in the history
upgrade: fix error checking dependents
  • Loading branch information
Bo98 committed Jul 5, 2020
2 parents ed8c261 + 6a49d29 commit 081025c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/upgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def check_installed_dependents
# Assess the dependents tree again now we've upgraded.
oh1 "Checking for dependents of upgraded formulae..." unless args.dry_run?
broken_dependents = CacheStoreDatabase.use(:linkage) do |db|
formulae_to_install.flat_map(&:runtime_installed_formula_dependents)
.select do |f|
installed_formulae.flat_map(&:runtime_installed_formula_dependents)
.select do |f|
keg = f.opt_or_installed_prefix_keg
next unless keg

Expand Down

0 comments on commit 081025c

Please sign in to comment.