소스 검색

do not erase deps from opts

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

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

@ -143,7 +143,7 @@ command_parsed_args(State, CmdArgs) ->
apply_profile(State=#state_t{default=Opts}, Profile) ->
ConfigProfiles = rebar_state:get(State, profiles, []),
Deps = rebar_state:get(State, deps, []),
Opts1 = dict:store({deps, default}, Deps, dict:erase(deps, Opts)),
Opts1 = dict:store({deps, default}, Deps, Opts),
ProfileOpts = dict:from_list(proplists:get_value(Profile, ConfigProfiles, [])),
State#state_t{opts=merge_opts(Profile, ProfileOpts, Opts1)}.

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