mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-26 19:37:39 +00:00
Merge branch 'master' into mc-1.13.x
This commit is contained in:
@@ -9,7 +9,10 @@ for i = 1, args.n do
|
||||
local files = fs.find(shell.resolve(args[i]))
|
||||
if #files > 0 then
|
||||
for n, file in ipairs(files) do
|
||||
fs.delete(file)
|
||||
local ok, err = pcall(fs.delete, file)
|
||||
if not ok then
|
||||
printError((err:gsub("^pcall: ", "")))
|
||||
end
|
||||
end
|
||||
else
|
||||
printError(args[i] .. ": No matching files")
|
||||
|
||||
Reference in New Issue
Block a user