瀏覽代碼

search subdirectories as well for imports/transforms/behaviours

pull/1957/head
Tristan Sloughter 6 年之前
父節點
當前提交
8c4a74a3ed
沒有發現已知的金鑰在資料庫的簽署中 GPG Key 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 -> true ->
[Incl]; [Incl];
false -> 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
end, Files). end, Files).

Loading…
取消
儲存