diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-11-29 17:21:06 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-11-29 17:21:06 -0600 |
commit | 731f05cc3db67ae49d6c7b5d7b5775c928f22691 (patch) | |
tree | f21f0cc8e8e58241633c51549df963a8b9eb46f1 /src | |
parent | 9afd6e89b2dde0f8261bfd9eb371ffd33af0d889 (diff) |
fix handle_deps when no deps are to be fetched
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar3.erl | 1 | ||||
-rw-r--r-- | src/rebar_prv_install_deps.erl | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl index c2161b7..9de8236 100644 --- a/src/rebar3.erl +++ b/src/rebar3.erl @@ -112,7 +112,6 @@ run_aux(State, GlobalPluginProviders, RawArgs) -> filename:join(filename:absname(rebar_state:dir(State)), BaseDir)), {ok, Providers} = application:get_env(rebar, providers), - {ok, PluginProviders, State3} = rebar_plugins:install(State2), rebar_core:update_code_path(State3), diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index fd99d83..d87a893 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -99,7 +99,7 @@ handle_deps(State, Deps) -> -spec handle_deps(rebar_state:t(), [dep()], boolean() | {true, binary(), integer()}) -> {ok, [rebar_app_info:t()], rebar_state:t()} | {error, string()}. handle_deps(State, [], _) -> - {ok, State}; + {ok, [], State}; handle_deps(State, Deps, Update) -> %% Read in package index and dep graph {Packages, Graph} = rebar_packages:get_packages(State), |