diff options
author | pvmart <mao@jiadaochipingguo.local> | 2015-07-26 13:27:03 +0800 |
---|---|---|
committer | pvmart <mao@jiadaochipingguo.local> | 2015-07-26 13:27:03 +0800 |
commit | 55d6aa2789221cca774134ff66c5baad7906f5fa (patch) | |
tree | 1cb1dcad5f855c73598930285de975366ae36621 | |
parent | 5cbc22c45d09f49d3867d71f4aac78326b9a8493 (diff) |
Fix duplicate function clause in rebar_prv_install_deps:parse_dep/5
-rw-r--r-- | src/rebar_prv_install_deps.erl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index 8bb394a..0276f5b 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -521,9 +521,6 @@ parse_dep(Name, {SrcDepsAcc, PkgDepsAcc}, DepsDir, IsLock, State) when is_atom(N parse_dep({Name, Source}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, IsLock, State) when is_tuple(Source) -> Dep = new_dep(DepsDir, Name, [], Source, IsLock, State), {[Dep | SrcDepsAcc], PkgDepsAcc}; -parse_dep({Name, Source}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, IsLock, State) when is_tuple(Source) -> - Dep = new_dep(DepsDir, Name, [], Source, IsLock, State), - {[Dep | SrcDepsAcc], PkgDepsAcc}; parse_dep({Name, _Vsn, Source}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, IsLock, State) when is_tuple(Source) -> Dep = new_dep(DepsDir, Name, [], Source, IsLock, State), {[Dep | SrcDepsAcc], PkgDepsAcc}; |