update lua table parser

This commit is contained in:
2025-06-09 22:03:02 +02:00
parent d5aca92bf1
commit 4e3bc358ac

View File

@@ -1418,7 +1418,7 @@ type JsonValue =
| JsonValue[]
| { [key: string]: JsonValue }
async function luaTableToJson(luaString: string): string {
async function luaTableToJson(luaString: string) {
const str = luaString.replace(/^return\s*/, '')
return LuaToJsonConverter.convert(str)
}