summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-07-19 16:09:50 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-07-19 16:09:50 -0400
commit9929eadc3495ab36338a64ffec9f2ddc01ac56f8 (patch)
tree90f9770f5cdf8f895b96ba1a4877625cafcfffef /src
parent93c000d02a4b79a2f17202016b119800d061ee57 (diff)
parentc3c9db7ca6a2779f9a7221e93b47092c512361a2 (diff)
Merge pull request #622 from tsloughter/profile_deps_deps
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)),