Browse Source

Fix dialyzer when only updating plt

Previously dialyzer would crash when not doing success typing analysis.
pull/152/head
James Fish 10 years ago
parent
commit
4b8e9db4ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_prv_dialyzer.erl

+ 1
- 1
src/rebar_prv_dialyzer.erl View 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.

Loading…
Cancel
Save