aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorJonas Pfenniger2011-01-01 00:47:02 +0000
committerAdam Vandenberg2011-03-21 22:10:30 -0700
commit3b4b11b00e16d579bfbae79111781b03856dcfc3 (patch)
treebedcb1fda11919503c9d94c3210b9ab10e3dc687 /Library/Homebrew/utils.rb
parentcfbb8897e1e253b2092303901e5754c23afc074f (diff)
downloadhomebrew-3b4b11b00e16d579bfbae79111781b03856dcfc3.tar.bz2
utils.rb: removed unused cols argument
cols is calculated in the function body Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index c5d9168d9..8a297f053 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -97,7 +97,7 @@ def curl *args
safe_system '/usr/bin/curl', '-f#LA', HOMEBREW_USER_AGENT, *args unless args.empty?
end
-def puts_columns items, cols = 4
+def puts_columns items
return if items.empty?
if $stdout.tty?