aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 592f4664c..47af8d5c4 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -1118,7 +1118,7 @@ module Homebrew
checks = Checks.new
if ARGV.include? '--list-checks'
- checks.methods.grep(/^check_/).sort.each { |m| puts m }
+ puts checks.methods.grep(/^check_/).sort
exit
end