소스 검색

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

pull/367/head
Tristan Sloughter 10 년 전
부모
커밋
ee0f4dcd60
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/rebar_config.erl

+ 1
- 1
src/rebar_config.erl 파일 보기

@ -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

불러오는 중...
취소
저장