summaryrefslogtreecommitdiff
path: root/src/rebar3.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r--src/rebar3.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index db393b0..f95f902 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -143,7 +143,8 @@ init_config() ->
Config1 = case rebar_config:consult_file(?LOCK_FILE) of
[D] ->
% {{deps, default}, D}
- [{{locks, default}, D} | Config];
+ Deps = [X || X <- D, element(4, X) =:= 0],
+ [{{locks, default}, D}, {{deps, default}, Deps} | Config];
_ ->
Config
end,