Skip to content

Commit 536eae9

Browse files
committed
Fix brew doctor warning for missing dependencies
1 parent 085edfc commit 536eae9

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)