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
|
checks = Checks.new
|
||||||
|
|
||||||
if ARGV.include? '--list-checks'
|
if ARGV.include? '--list-checks'
|
||||||
checks.methods.grep(/^check_/).sort.each { |m| puts m }
|
puts checks.methods.grep(/^check_/).sort
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user