Skip to content
Snippets Groups Projects
Commit d976e437 authored by Xu Cheng's avatar Xu Cheng
Browse files

doctor: use Formula#full_name

parent 06133a8a
No related branches found
No related tags found
No related merge requests found
......@@ -941,7 +941,7 @@ def check_for_linked_keg_only_brews
Formula.each do |f|
next unless f.keg_only? and f.installed?
links = __check_linked_brew f
warnings[f.name] = links unless links.empty?
warnings[f.full_name] = links unless links.empty?
end
unless warnings.empty?
......@@ -992,7 +992,7 @@ def check_missing_deps
Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
brew install #{missing.sort_by(&:name) * " "}
brew install #{missing.sort_by(&:full_name) * " "}
Run `brew missing` for more details.
EOS
......
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