Pass array to puts instead of iterating over it
This commit is contained in:
parent
c18eea6a17
commit
d2aeadb1cd
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user