minor fix of caching

This commit is contained in:
Onran
2025-04-06 22:42:18 +09:00
committed by GitHub
parent e279e4ea50
commit 8e907b6d98
+2 -2
View File
@@ -42,7 +42,7 @@ local function execute(str, args, ...)
local comp = compiler(str, expArgs)
cache[argsHash] = { }
if not cache[argsHash] then cache[argsHash] = { } end
cache[argsHash][str] = comp
@@ -58,4 +58,4 @@ local function execute(str, args, ...)
end
end
return execute
return execute