mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Simplify find_dep_in_dir
This commit is contained in:
parent
85e820096d
commit
fa38ed64cc
1 changed files with 1 additions and 1 deletions
|
@ -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) ->
|
||||
|
|
Loading…
Reference in a new issue