diff options
Diffstat (limited to 'src/rebar_deps.erl')
-rw-r--r-- | src/rebar_deps.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_deps.erl b/src/rebar_deps.erl index c7c236d..01cfad3 100644 --- a/src/rebar_deps.erl +++ b/src/rebar_deps.erl @@ -218,7 +218,7 @@ find_dep(Dep, undefined) -> %% 'source' is undefined. If Dep is not satisfied locally, %% go ahead and find it amongst the lib_dir's. case find_dep_in_dir(Dep, get_deps_dir(Dep#dep.app)) of - {avail, Dir} -> {avail, Dir}; + {avail, _Dir} = Avail -> Avail; {missing, _} -> find_dep_in_dir(Dep, get_lib_dir(Dep#dep.app)) end; find_dep(Dep, _Source) -> |