Ver código fonte

Return legnth of the original warnings no the formated ones

pull/828/head
Heinz N. Gies 9 anos atrás
pai
commit
2ab43014e8
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/rebar_prv_dialyzer.erl

+ 1
- 1
src/rebar_prv_dialyzer.erl Ver arquivo

@ -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],

Carregando…
Cancelar
Salvar