summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-07-18 13:04:38 -0500
committerTristan Sloughter <t@crashfast.com>2015-07-18 13:05:44 -0500
commitc3c9db7ca6a2779f9a7221e93b47092c512361a2 (patch)
tree6cd72afdd3c6e40349b91ee6aa5a04e92e3911cf /src
parent6f95911d3244c063222b4b4bcbb6c2e2271c5f4d (diff)
do not install profile deps of deps
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_install_deps.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl
index 105bbb1..2a6048b 100644
--- a/src/rebar_prv_install_deps.erl
+++ b/src/rebar_prv_install_deps.erl
@@ -391,7 +391,7 @@ handle_dep(State, Profile, DepsDir, AppInfo, Locks, Level) ->
AppInfo2 = rebar_app_info:state(AppInfo1, S5),
%% Upgrade lock level to be the level the dep will have in this dep tree
- Deps = rebar_state:get(S5, deps, []),
+ Deps = rebar_state:get(S5, {deps, default}, []),
NewLocks = [{DepName, Source, LockLevel+Level} ||
{DepName, Source, LockLevel} <- rebar_state:get(S5, {locks, default}, [])],
AppInfo3 = rebar_app_info:deps(AppInfo2, rebar_state:deps_names(Deps)),