aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/doctor.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 1676f9c76..8f8e1331f 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -12,9 +12,13 @@ module Homebrew
checks.inject_dump_stats! if ARGV.switch? "D"
if ARGV.named.empty?
- methods = checks.all.sort
- methods << "check_for_linked_keg_only_brews" << "check_for_outdated_homebrew"
- methods = methods.reverse.uniq.reverse
+ slow_checks = %w[
+ check_for_broken_symlinks
+ check_missing_deps
+ check_for_outdated_homebrew
+ check_for_linked_keg_only_brews
+ ]
+ methods = (checks.all.sort - slow_checks) + slow_checks
else
methods = ARGV.named
end