From 2ab43014e8855656ec19439a5f9ebcc5519c39f5 Mon Sep 17 00:00:00 2001 From: "Heinz N. Gies" Date: Tue, 22 Sep 2015 21:37:42 +0200 Subject: Return legnth of the original warnings no the formated ones --- src/rebar_prv_dialyzer.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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], -- cgit v1.1