mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-05 02:32:33 +01:00
update to new confgen version
This commit is contained in:
parent
1d5c6e2471
commit
2a1e70e959
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ cg.opt.fennelCompile = fennel.compileString
|
||||||
|
|
||||||
-- Evaluate fennel code and JSONify the result. Meant to be used as a post-processor.
|
-- Evaluate fennel code and JSONify the result. Meant to be used as a post-processor.
|
||||||
cg.opt.fennelToJSON = function(str)
|
cg.opt.fennelToJSON = function(str)
|
||||||
return cg.toJSON(fennel.eval(str))
|
return cg.fmt.json.serialize(fennel.eval(str))
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Check if the given file exists
|
-- Check if the given file exists
|
||||||
|
|
Loading…
Reference in a new issue