Kaynağa Gözat

Fix lock merging for nonexistant lock files.

pull/178/head
Fred Hebert 10 yıl önce
ebeveyn
işleme
d6dc56da03
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. +5
    -0
      src/rebar_config.erl

+ 5
- 0
src/rebar_config.erl Dosyayı Görüntüle

@ -60,8 +60,13 @@ consult_file(File) ->
end
end.
%% no lockfile
merge_locks(Config, []) ->
Config;
%% empty lockfile
merge_locks(Config, [[]]) ->
Config;
%% lockfile with entries
merge_locks(Config, [Locks]) ->
{deps, ConfigDeps} = lists:keyfind(deps, 1, Config),
%% We want the top level deps only from the lock file.

Yükleniyor…
İptal
Kaydet