diff options
| author | Jack Nagel | 2014-07-19 23:36:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-19 23:36:02 -0500 |
| commit | 43448ef2e812efba84d56d1faa95e7aded43dc08 (patch) | |
| tree | 96e6c33a0f5407ae4587c31c809934d5c033cc14 /Library/Homebrew/cmd | |
| parent | 49151fcfe0123e22034d236277ad71f672ff21ca (diff) | |
| download | homebrew-43448ef2e812efba84d56d1faa95e7aded43dc08.tar.bz2 | |
Pass array to puts instead of iterating over it
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 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 |
