TOOLS/lua/autoload: pass extensions to recursive call

Closes #12400
This commit is contained in:
Christoph Heinrich 2023-09-15 22:45:41 +02:00 committed by Dudemanguy
parent 55a46214c4
commit 43e960e1f6
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ function scan_dir(path, current_file, dir_mode, separator, dir_depth, total_file
if dir_mode == "recursive" then
for _, dir in ipairs(dirs) do
scan_dir(prefix .. dir .. separator, current_file, dir_mode,
separator, dir_depth + 1, total_files)
separator, dir_depth + 1, total_files, extensions)
end
else
for i, dir in ipairs(dirs) do