Sfoglia il codice sorgente

Fix dialyzer when only updating plt

Previously dialyzer would crash when not doing success typing analysis.
pull/152/head
James Fish 10 anni fa
parent
commit
4b8e9db4ca
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/rebar_prv_dialyzer.erl

+ 1
- 1
src/rebar_prv_dialyzer.erl Vedi File

@ -352,7 +352,7 @@ succ_typings(State, Plt, Apps) ->
{Args, _} = rebar_state:command_parsed_args(State),
case proplists:get_value(succ_typings, Args) of
false ->
{ok, State};
{0, State};
_ ->
do_succ_typings(State, Plt, Apps)
end.

Caricamento…
Annulla
Salva