diff options
author | alisdair sullivan <alisdairsullivan@yahoo.ca> | 2015-02-22 15:10:34 -0800 |
---|---|---|
committer | alisdair sullivan <alisdairsullivan@yahoo.ca> | 2015-02-22 15:10:34 -0800 |
commit | 04235f1a63ebfec1b6fbd1b6c5ed9b6a2853b8a8 (patch) | |
tree | d6073996ad624ec97ee34179fb19c27a6292cee6 | |
parent | 558646adbc044d85aae4d972682d008a9c7554c7 (diff) |
don't attempt to merge locks when there are no dependencies
fixes #172
-rw-r--r-- | src/rebar_config.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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), |