diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-07-02 19:23:18 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-07-02 19:23:18 -0400 |
commit | 59b4bb5dcf22e845483a82c5dd7a929cd9a317da (patch) | |
tree | 2853bc31a439cf3a3e10dc9ea237280895352cfa /src/rebar_prv_plugins_upgrade.erl | |
parent | 74c124bdd00f011e701658a8ca196d1fd5c66a85 (diff) | |
parent | d9e7cb4d2646d7ca861b8803d6d0d3a380aeb93d (diff) |
Merge pull request #586 from tsloughter/deps_install_refactor
wip: deps install refactor
Diffstat (limited to 'src/rebar_prv_plugins_upgrade.erl')
-rw-r--r-- | src/rebar_prv_plugins_upgrade.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rebar_prv_plugins_upgrade.erl b/src/rebar_prv_plugins_upgrade.erl index 5ccd054..02c185f 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_deps_as_profile(Profile, State1, [P], true), {no_cycle, Sorted} = rebar_prv_install_deps:find_cycles(Apps), ToBuild = rebar_prv_install_deps:cull_compile(Sorted, []), |