summaryrefslogtreecommitdiff
path: root/src/rebar_prv_plugins_upgrade.erl
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-07-02 10:05:14 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-07-02 10:05:14 -0500
commitd9e7cb4d2646d7ca861b8803d6d0d3a380aeb93d (patch)
tree2853bc31a439cf3a3e10dc9ea237280895352cfa /src/rebar_prv_plugins_upgrade.erl
parentcfea721d98469c58953436d27a7663fdd19dfd3f (diff)
parent7840a93e859e939f5dae92d026d5a008435bc56f (diff)
Merge pull request #2 from ferd/deps_install_refactor
Minor refactors
Diffstat (limited to 'src/rebar_prv_plugins_upgrade.erl')
-rw-r--r--src/rebar_prv_plugins_upgrade.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_plugins_upgrade.erl b/src/rebar_prv_plugins_upgrade.erl
index 7830b24..02c185f 100644
--- a/src/rebar_prv_plugins_upgrade.erl
+++ b/src/rebar_prv_plugins_upgrade.erl
@@ -62,7 +62,7 @@ upgrade(Plugin, State) ->
?PRV_ERROR({not_found, Plugin});
{ok, P, Profile} ->
State1 = rebar_state:set(State, deps_dir, ?DEFAULT_PLUGINS_DIR),
- {Apps, _State2} = rebar_prv_install_deps:handle_profile_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, []),