diff --git a/data/core/init.lua b/data/core/init.lua index 08dc781..1690a72 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -27,7 +27,7 @@ local function project_scan_thread() coroutine.yield() t = t or {} local size_limit = config.file_size_limit * 10e5 - local all = system.list_dir(path) + local all = system.list_dir(path) or {} local dirs, files = {}, {} for _, file in ipairs(all) do