update to new confgen version

This commit is contained in:
LordMZTE 2024-07-14 19:08:47 +02:00
parent 1d5c6e2471
commit 2a1e70e959
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -93,7 +93,7 @@ cg.opt.fennelCompile = fennel.compileString
-- Evaluate fennel code and JSONify the result. Meant to be used as a post-processor.
cg.opt.fennelToJSON = function(str)
return cg.toJSON(fennel.eval(str))
return cg.fmt.json.serialize(fennel.eval(str))
end
-- Check if the given file exists