소스 검색

search subdirectories as well for imports/transforms/behaviours

pull/1957/head
Tristan Sloughter 6 년 전
부모
커밋
8c4a74a3ed
No known key found for this signature in database GPG 키 ID: AAB97DDECCEB8150
1개의 변경된 파일1개의 추가작업 그리고 10개의 파일을 삭제
  1. +1
    -10
      src/rebar_compiler_erl.erl

+ 1
- 10
src/rebar_compiler_erl.erl 파일 보기

@ -317,16 +317,7 @@ expand_file_names(Files, Dirs) ->
true ->
[Incl];
false ->
lists:flatmap(
fun(Dir) ->
FullPath = filename:join(Dir, Incl),
case filelib:is_regular(FullPath) of
true ->
[FullPath];
false ->
[]
end
end, Dirs)
rebar_utils:find_files_in_dirs(Dirs, Incl, true)
end
end, Files).

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