Фикс форматирования
This commit is contained in:
@@ -6,13 +6,11 @@
|
||||
local function listdir(path, findpattern)
|
||||
|
||||
local list = fs.list(path)
|
||||
|
||||
for k, v in pairs(list) do
|
||||
filename = path .. "/" .. v
|
||||
if fs.isDir(filename) then
|
||||
listdir(filename, findpattern)
|
||||
else
|
||||
|
||||
if findpattern then
|
||||
local s, e = filename:find(findpattern)
|
||||
if s then
|
||||
|
||||
Reference in New Issue
Block a user