diff options
| author | Markus Reiter | 2016-10-02 07:57:21 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-10-15 17:13:38 +0200 |
| commit | 01d87f810721d8e8faf4b73ff5120923fa7c88ca (patch) | |
| tree | c4e9d3941758be830549b15a35b83e201b084406 /Library/Homebrew/cmd/install.rb | |
| parent | 4bfeaaf21259637c1ad1a98b479fc0e4fdaea56e (diff) | |
| download | brew-01d87f810721d8e8faf4b73ff5120923fa7c88ca.tar.bz2 | |
Don’t use `puts_columns` if `empty?` or single item.
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index ffb7eeab3..209fe8bad 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -179,7 +179,7 @@ module Homebrew ofail "No similarly named formulae found." when 1 puts "This similarly named formula was found:" - puts_columns(formulae_search_results) + puts formulae_search_results puts "To install it, run:\n brew install #{formulae_search_results.first}" else puts "These similarly named formulae were found:" @@ -194,7 +194,7 @@ module Homebrew ofail "No formulae found in taps." when 1 puts "This formula was found in a tap:" - puts_columns(taps_search_results) + puts taps_search_results puts "To install it, run:\n brew install #{taps_search_results.first}" else puts "These formulae were found in taps:" |
