From 4b8e9db4cae9971a27a6e042a43c61db1db60f18 Mon Sep 17 00:00:00 2001 From: James Fish Date: Sun, 15 Feb 2015 18:14:19 +0000 Subject: Fix dialyzer when only updating plt Previously dialyzer would crash when not doing success typing analysis. --- src/rebar_prv_dialyzer.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.1