summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Fish <james@fishcakez.com>2015-02-15 18:14:19 +0000
committerJames Fish <james@fishcakez.com>2015-02-15 18:14:19 +0000
commit4b8e9db4cae9971a27a6e042a43c61db1db60f18 (patch)
tree9448eef0b47cde1a72a5b9e2909068e1c02d9670
parentcede33a8f9d37de8c5a2617ffc1c680e46333eef (diff)
Fix dialyzer when only updating plt
Previously dialyzer would crash when not doing success typing analysis.
-rw-r--r--src/rebar_prv_dialyzer.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl
index be38d98..bcba36a 100644
--- a/src/rebar_prv_dialyzer.erl
+++ b/src/rebar_prv_dialyzer.erl
@@ -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.