APIDump: Fixed bad for-loop.
How did I not see this before?
This commit is contained in:
parent
194a1b208f
commit
1a3a291bde
@ -232,11 +232,11 @@ end
|
|||||||
function DumpAPIHtml()
|
function DumpAPIHtml()
|
||||||
LOG("Dumping all available functions and constants to API subfolder...");
|
LOG("Dumping all available functions and constants to API subfolder...");
|
||||||
|
|
||||||
LOG("Moving static files..");
|
LOG("Copying static files..");
|
||||||
cFile:CreateFolder("API/Static");
|
cFile:CreateFolder("API/Static");
|
||||||
local localFolder = g_Plugin:GetLocalFolder();
|
local localFolder = g_Plugin:GetLocalFolder();
|
||||||
for k, v in cFile:GetFolderContents(localFolder .. "/Static") do
|
for idx, fnam in ipairs(cFile:GetFolderContents(localFolder .. "/Static")) do
|
||||||
cFile:Copy(localFolder .. "/Static/" .. v, "API/Static/" .. v);
|
cFile:Copy(localFolder .. "/Static/" .. fnam, "API/Static/" .. fnam);
|
||||||
end
|
end
|
||||||
|
|
||||||
LOG("Creating API tables...");
|
LOG("Creating API tables...");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user