Skip to content

Commit

Permalink
Merge pull request #12497 from carlocab/bottled-dependent-check
Browse files Browse the repository at this point in the history
upgrade: fix undefined method error
  • Loading branch information
carlocab authored Nov 30, 2021
2 parents a285ef6 + ea72daf commit b6d78d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/upgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def check_installed_dependents(

# Ensure we never attempt a source build for outdated dependents of upgraded formulae.
outdated_dependents, skipped_dependents = outdated_dependents.partition do |dependent|
dependent.bottled? && dependent.deps.all?(&:bottled?)
dependent.bottled? && dependent.deps.map(&:to_formula).all?(&:bottled?)
end

if skipped_dependents.present?
Expand Down

0 comments on commit b6d78d0

Please sign in to comment.