Skip to content

Commit 00001be

Browse files
authored
Merge pull request #20908 from Homebrew/fix-doctor-missing-deps-warning
Fix `brew doctor` warning for missing dependencies
2 parents 1205722 + 536eae9 commit 00001be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/Homebrew/diagnostic.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def check_missing_deps
698698
<<~EOS
699699
Some installed formulae are missing dependencies.
700700
You should `brew install` the missing dependencies:
701-
brew install #{missing.sort_by(&:full_name) * " "}
701+
brew install #{missing.map(&:to_installed_formula).sort_by(&:full_name) * " "}
702702
703703
Run `brew missing` for more details.
704704
EOS

0 commit comments

Comments
 (0)