diff --git a/apps/els_core/src/els_utils.erl b/apps/els_core/src/els_utils.erl index ea82df65d..faee111b6 100644 --- a/apps/els_core/src/els_utils.erl +++ b/apps/els_core/src/els_utils.erl @@ -287,7 +287,7 @@ do_fold_files(F, Filter, Dir, [File | Rest], Acc0) -> Acc = case filelib:is_regular(Path) of true -> do_fold_file(F, Filter, Path, Acc0); - false -> Acc0 + false -> do_fold_dir(F, Filter, Path, Acc0) end, do_fold_files(F, Filter, Dir, Rest, Acc).