diff options
| author | Jonas Pfenniger | 2011-01-01 00:47:02 +0000 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-21 22:10:30 -0700 |
| commit | 163c1c52d072f081f80c75ed9876e0587d0af8dd (patch) | |
| tree | c86d13d180d6033cce09cf1622911387e9046f11 /Library | |
| parent | 529066d24d2b4e99d4e9c72d534eb13adc597076 (diff) | |
| download | brew-163c1c52d072f081f80c75ed9876e0587d0af8dd.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')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
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? |
