diff options
| author | Jack Nagel | 2014-07-20 19:47:31 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-20 19:47:31 -0500 |
| commit | f34fcd7781f5bbdade72856ad8d62fb077e3d994 (patch) | |
| tree | bbc8e1b98dc3fe1480df3ed1de24a8ad1c3a2858 /Library | |
| parent | 5abcfad97e478e69cc2e653a06f17821f8cabb43 (diff) | |
| download | brew-f34fcd7781f5bbdade72856ad8d62fb077e3d994.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 |
