From cfea721d98469c58953436d27a7663fdd19dfd3f Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Thu, 2 Jul 2015 12:51:46 +0000 Subject: wip: deps install refactor --- src/rebar_prv_plugins_upgrade.erl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/rebar_prv_plugins_upgrade.erl') diff --git a/src/rebar_prv_plugins_upgrade.erl b/src/rebar_prv_plugins_upgrade.erl index 5ccd054..7830b24 100644 --- a/src/rebar_prv_plugins_upgrade.erl +++ b/src/rebar_prv_plugins_upgrade.erl @@ -62,10 +62,7 @@ upgrade(Plugin, State) -> ?PRV_ERROR({not_found, Plugin}); {ok, P, Profile} -> State1 = rebar_state:set(State, deps_dir, ?DEFAULT_PLUGINS_DIR), - {ok, Apps, _State2} = rebar_prv_install_deps:handle_deps(Profile - ,State1 - ,[P] - ,true), + {Apps, _State2} = rebar_prv_install_deps:handle_profile_deps(Profile, State1, [P], true), {no_cycle, Sorted} = rebar_prv_install_deps:find_cycles(Apps), ToBuild = rebar_prv_install_deps:cull_compile(Sorted, []), -- cgit v1.1