Explorar el Código

merge_locks crashed if a config didn't have a deps entry

pull/367/head
Tristan Sloughter hace 10 años
padre
commit
ee0f4dcd60
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/rebar_config.erl

+ 1
- 1
src/rebar_config.erl Ver fichero

@ -69,7 +69,7 @@ merge_locks(Config, [[]]) ->
Config;
%% lockfile with entries
merge_locks(Config, [Locks]) ->
{deps, ConfigDeps} = lists:keyfind(deps, 1, Config),
ConfigDeps = proplists:get_value(deps, Config, []),
%% We want the top level deps only from the lock file.
%% This ensures deterministic overrides for configs.
%% Then check if any new deps have been added to the config

Cargando…
Cancelar
Guardar