소스 검색

Simplify find_dep_in_dir

pull/3/head
Tuncer Ayaz 14 년 전
부모
커밋
fa38ed64cc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/rebar_deps.erl

+ 1
- 1
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) ->

불러오는 중...
취소
저장