Skip to content

Commit 2906c37

Browse files
committed
Fixed metaprogram files always being written.
1 parent 6eeeff4 commit 2906c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.lua2p

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ do
644644
luaCode = table.concat(luaBuffer)
645645
if useCache then templateMetaprogramCache[path] = luaCode end
646646

647-
if outputMeta or 1 then
647+
if outputMetaprograms then
648648
local metaPath = "temp/meta/" .. path:gsub("/", "__") .. ".lua"
649649
timestampPrintVerbose("Writing: %s", metaPath)
650650

0 commit comments

Comments
 (0)