aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-20 19:47:31 -0500
committerJack Nagel2014-07-20 19:47:31 -0500
commitf34fcd7781f5bbdade72856ad8d62fb077e3d994 (patch)
treebbc8e1b98dc3fe1480df3ed1de24a8ad1c3a2858 /Library
parent5abcfad97e478e69cc2e653a06f17821f8cabb43 (diff)
downloadbrew-f34fcd7781f5bbdade72856ad8d62fb077e3d994.tar.bz2
Simplify onoe
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils.rb4
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