From 1548d6f1e231da96332d97ccff0c043f56de3b69 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 8 Nov 2014 21:05:11 -0600 Subject: strip newline from end of dialyzer format warnings --- src/rebar_prv_dialyzer.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index a43999b..9c89ad3 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -52,7 +52,8 @@ do(State) -> [] -> {ok, State}; Warnings -> - [?WARN(dialyzer:format_warning(Warning), []) || Warning <- Warnings], + [?CONSOLE(string:strip(dialyzer:format_warning(Warning), right, $\n), []) || + Warning <- Warnings], {ok, State} end catch -- cgit v1.1