diff options
| author | Jack Nagel | 2014-07-19 23:36:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-19 23:36:02 -0500 |
| commit | d2aeadb1cd087081c7631622e01d8522e63e27eb (patch) | |
| tree | 2f0526fc8cbfabe7e54f4a87bc7e7666637935f0 /Library | |
| parent | c18eea6a17b3818d70e20389c8200939a764ec8e (diff) | |
| download | brew-d2aeadb1cd087081c7631622e01d8522e63e27eb.tar.bz2 | |
Pass array to puts instead of iterating over it
Diffstat (limited to 'Library')
| -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 |
