Przeglądaj źródła

ignore opts list in src dep is it is there

pull/112/head
Tristan Sloughter 10 lat temu
rodzic
commit
d5552cfcd3
1 zmienionych plików z 3 dodań i 0 usunięć
  1. +3
    -0
      src/rebar_prv_install_deps.erl

+ 3
- 0
src/rebar_prv_install_deps.erl Wyświetl plik

@ -425,6 +425,9 @@ parse_dep({Name, Source}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tupl
parse_dep({Name, _Vsn, Source}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source) ->
Dep = new_dep(DepsDir, Name, [], Source, State),
{[Dep | SrcDepsAcc], PkgDepsAcc};
parse_dep({Name, _Vsn, Source, _Opts}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source) ->
Dep = new_dep(DepsDir, Name, [], Source, State),
{[Dep | SrcDepsAcc], PkgDepsAcc};
parse_dep({Name, Source, Level}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source)
, is_integer(Level) ->
Dep = new_dep(DepsDir, Name, [], Source, State),

Ładowanie…
Anuluj
Zapisz