diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index c5d9168d91..8a297f0530 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?