Lua got confused by varargs

This commit is contained in:
2026-09-16 17:59:24 -06:00
parent f229e7331e
commit f1b5fbc615
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -280,8 +280,9 @@ utility.read_file = function(file_name)
end
utility.write_file = function(file_name, ...)
local text = table.concat{...}
return utility.open(file_name, "w", function(file)
file:write(table.concat{...})
file:write(text)
-- file:write("\n") -- I need to make sure /I/ handle this instead of trying to automate it
end)
end
+3 -3
View File
@@ -23,11 +23,11 @@ if not config.models then
end
log{
-- info = true,
-- warning = true,
info = true,
warning = true,
-- debug = true,
-- files = true, -- debugging why the wrong files are selected
sha = true, -- what the fuck is going on with sha sums?
-- sha = true, -- what the fuck is going on with sha sums?
}
local memory_path = "PRIVATE_DATA" .. utility.path_separator .. "memory"