summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_base_compiler.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_base_compiler.erl b/src/rebar_base_compiler.erl
index 01bb727..b42189b 100644
--- a/src/rebar_base_compiler.erl
+++ b/src/rebar_base_compiler.erl
@@ -239,7 +239,7 @@ maybe_report(_) ->
ok.
report(Messages) ->
- lists:foreach(fun(Msg) -> io:format("~s", [Msg]) end, Messages).
+ lists:foreach(fun(Msg) -> io:format("~s~n", [Msg]) end, Messages).
format_errors(Config, _MainSource, Extra, Errors) ->
[begin
@@ -250,13 +250,13 @@ format_errors(Config, _MainSource, Extra, Errors) ->
format_error(AbsSource, Extra, {{Line, Column}, Mod, Desc}) ->
ErrorDesc = Mod:format_error(Desc),
- ?FMT("~s:~w:~w: ~s~s", [AbsSource, Line, Column, Extra, ErrorDesc]);
+ ?FMT("~s:~w:~w: ~s~s~n", [AbsSource, Line, Column, Extra, ErrorDesc]);
format_error(AbsSource, Extra, {Line, Mod, Desc}) ->
ErrorDesc = Mod:format_error(Desc),
- ?FMT("~s:~w: ~s~s", [AbsSource, Line, Extra, ErrorDesc]);
+ ?FMT("~s:~w: ~s~s~n", [AbsSource, Line, Extra, ErrorDesc]);
format_error(AbsSource, Extra, {Mod, Desc}) ->
ErrorDesc = Mod:format_error(Desc),
- ?FMT("~s: ~s~s", [AbsSource, Extra, ErrorDesc]).
+ ?FMT("~s: ~s~s~n", [AbsSource, Extra, ErrorDesc]).
maybe_absname(Config, Filename) ->
case rebar_utils:processing_base_dir(Config) of