From 04235f1a63ebfec1b6fbd1b6c5ed9b6a2853b8a8 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Sun, 22 Feb 2015 15:10:34 -0800 Subject: don't attempt to merge locks when there are no dependencies fixes #172 --- src/rebar_config.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_config.erl b/src/rebar_config.erl index 36d6b18..63b7af7 100644 --- a/src/rebar_config.erl +++ b/src/rebar_config.erl @@ -60,7 +60,7 @@ consult_file(File) -> end end. -merge_locks(Config, []) -> +merge_locks(Config, [[]]) -> Config; merge_locks(Config, [Locks]) -> {deps, ConfigDeps} = lists:keyfind(deps, 1, Config), -- cgit v1.1