summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-07-26 20:27:12 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-07-26 20:27:12 -0500
commit2e7505d1a2d70c62824dae31060a6227b18c1063 (patch)
tree84304ef3498ac2e9c671ba5a850eed561a400fc6
parenta415140415e4f48de85f754e10443745a72fad4f (diff)
parent55d6aa2789221cca774134ff66c5baad7906f5fa (diff)
Merge pull request #655 from pvmart/master
Fix duplicate function clause in rebar_prv_install_deps:parse_dep/5
-rw-r--r--src/rebar_prv_install_deps.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl
index 69956f0..c4fd985 100644
--- a/src/rebar_prv_install_deps.erl
+++ b/src/rebar_prv_install_deps.erl
@@ -524,9 +524,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};