diff options
| author | Jack Nagel | 2012-12-21 15:13:36 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-12-21 15:15:42 -0600 |
| commit | 20f79e49eda6883e268cf6cf59ff41f7119cab6f (patch) | |
| tree | 06738b6281384ddcb635676894bb22c3b8951c6e /Library/Homebrew/cmd | |
| parent | 16d6ec731f6565408a0067597939f14eed380036 (diff) | |
| download | homebrew-20f79e49eda6883e268cf6cf59ff41f7119cab6f.tar.bz2 | |
doctor: run slowest checks last
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index fc8b637ba..934de6eaf 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -1020,7 +1020,7 @@ module Homebrew extend self checks.methods.sort << "check_for_linked_keg_only_brews" << "check_for_outdated_homebrew" else ARGV.named - end.select{ |method| method =~ /^check_/ }.uniq + end.select{ |method| method =~ /^check_/ }.reverse.uniq.reverse methods.each do |method| out = checks.send(method) |
