test
This commit is contained in:
parent
56f710d49c
commit
103e0ea17d
@ -26,7 +26,10 @@ end
|
|||||||
-- Download each file
|
-- Download each file
|
||||||
for _, filename in ipairs(filesToDownload) do
|
for _, filename in ipairs(filesToDownload) do
|
||||||
-- remove each file first
|
-- remove each file first
|
||||||
fs.remove(filename)
|
if fs.exists(filename) then
|
||||||
|
print("Removing existing file: " .. filename)
|
||||||
|
fs.delete(filename)
|
||||||
|
end
|
||||||
downloadFile(filename)
|
downloadFile(filename)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user