diff options
author | Heinz N. Gies <heinz@licenser.net> | 2015-09-22 21:37:42 +0200 |
---|---|---|
committer | Heinz N. Gies <heinz@licenser.net> | 2015-09-29 08:05:42 +0200 |
commit | 2ab43014e8855656ec19439a5f9ebcc5519c39f5 (patch) | |
tree | 855a7cdec05c1cc5eed1bd19a4bf9621390c134b | |
parent | 3bbebfe730c3a3765622740ac3b272c5872604f1 (diff) |
Return legnth of the original warnings no the formated ones
-rw-r--r-- | src/rebar_prv_dialyzer.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index 86381f2..487e9d1 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -405,7 +405,7 @@ format_warnings(Output, Warnings) -> Warnings1 = rebar_dialyzer_format:format_warnings(Warnings), console_warnings(Warnings1), file_warnings(Output, Warnings), - length(Warnings1). + length(Warnings). console_warnings(Warnings) -> _ = [?CONSOLE("~s", [Warning]) || Warning <- Warnings], |