diff options
| author | Jack Nagel | 2014-07-20 19:47:31 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-20 19:47:31 -0500 |
| commit | 4dae0b4d6bb63c9a2addf9af67ab1b846103ad61 (patch) | |
| tree | 81c4fb496c461ca9fd51e07bc02d70094deb9c35 /Library | |
| parent | fecc5492ea35a5f3a8155e90d23f73ff7679c12e (diff) | |
| download | homebrew-4dae0b4d6bb63c9a2addf9af67ab1b846103ad61.tar.bz2 | |
Simplify onoe
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/utils.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 6f2d10aeb..412a7dbc0 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -58,9 +58,7 @@ def opoo warning end def onoe error - lines = error.to_s.split("\n") - STDERR.puts "#{Tty.red}Error#{Tty.reset}: #{lines.shift}" - STDERR.puts lines unless lines.empty? + STDERR.puts "#{Tty.red}Error#{Tty.reset}: #{error}" end def ofail error |
