summaryrefslogtreecommitdiff
path: root/src/rebar_state.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-08-28 09:17:01 -0500
committerTristan Sloughter <t@crashfast.com>2014-08-28 09:17:01 -0500
commit393abe92d01040a847bfc42a80d61b33f0254ca7 (patch)
tree2441809c82d2dc5fe4ac4c818b6714221a0915e2 /src/rebar_state.erl
parent97db15d2a58de542aaef4075cddc3769f0308759 (diff)
use locks if exists
Diffstat (limited to 'src/rebar_state.erl')
-rw-r--r--src/rebar_state.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_state.erl b/src/rebar_state.erl
index 1e06ac6..4b4ada8 100644
--- a/src/rebar_state.erl
+++ b/src/rebar_state.erl
@@ -59,7 +59,7 @@ new(ParentState, Config, Dir) ->
_Opts = ParentState#state_t.opts,
LocalOpts = case rebar_config:consult_file(?LOCK_FILE) of
{ok, [D]} ->
- [{lock_deps, D} | Config];
+ [{locks, D} | Config];
_ ->
Config
end,