Skip to content

Commit 9a0f810

Browse files
baldmountainJosé Valim
authored andcommitted
Print all of the error messages using color :error.
Signed-off-by: José Valim <[email protected]>
1 parent d4609c6 commit 9a0f810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/iex/lib/iex/server.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ defmodule IEx.Server do
161161
end
162162

163163
defp io_error(result) do
164-
IO.puts :stdio, result
164+
IO.puts :stdio, IEx.color(:error, result)
165165
end
166166

167167
defp remote_prefix do

0 commit comments

Comments
 (0)