소스 검색

Merge pull request #2390 from ferd/fixup-plugin-upgrade-autoupdate

Fixup plugin upgrade autoupdate
pull/2395/head
Fred Hebert 4 년 전
committed by GitHub
부모
커밋
3b22d63fe8
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      src/rebar_prv_plugins_upgrade.erl

+ 2
- 0
src/rebar_prv_plugins_upgrade.erl 파일 보기

@ -94,6 +94,8 @@ build_plugin(ToBuild, State) ->
Providers = rebar_state:providers(State),
rebar_prv_compile:compile(State, Providers, ToBuild, plugins).
maybe_update_pkg(Tup, State) when is_tuple(Tup) ->
maybe_update_pkg(element(1, Tup), State);
maybe_update_pkg(Name, State) ->
try rebar_app_utils:parse_dep(root, ?DEFAULT_PLUGINS_DIR, Name, State, [], 0) of
AppInfo ->

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