summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-11-08 11:16:42 -0600
committerTristan Sloughter <t@crashfast.com>2014-11-08 11:16:42 -0600
commitf1ca7950c3a532721ca19679d272ae6c2170c05f (patch)
tree25ce009cfee6454871256ea91c534580ddb8e9b0 /src
parent0608e5087b24037874f8c4ef85318944c4081396 (diff)
fix warning/error compilation output
Diffstat (limited to 'src')
-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