diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-11-08 21:05:11 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-11-08 21:05:11 -0600 |
commit | 1548d6f1e231da96332d97ccff0c043f56de3b69 (patch) | |
tree | bc151f6dc32bc4e2d2516d6eea38397f21b8ab1a /src | |
parent | 6fa13cb393b78f7fc0108854b9b3471d3f77d6e6 (diff) |
strip newline from end of dialyzer format warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_dialyzer.erl | 3 |
1 files changed, 2 insertions, 1 deletions
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 |