utils.rb: removed unused cols argument

cols is calculated in the function body

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Jonas Pfenniger 2011-01-01 00:47:02 +00:00 committed by Adam Vandenberg
parent 529066d24d
commit 163c1c52d0

View File

@ -97,7 +97,7 @@ def curl *args
safe_system '/usr/bin/curl', '-f#LA', HOMEBREW_USER_AGENT, *args unless args.empty? safe_system '/usr/bin/curl', '-f#LA', HOMEBREW_USER_AGENT, *args unless args.empty?
end end
def puts_columns items, cols = 4 def puts_columns items
return if items.empty? return if items.empty?
if $stdout.tty? if $stdout.tty?