1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
This commit is contained in:
Étienne Fildadut 2024-01-03 13:49:24 +01:00
parent 4c76ef5f96
commit 12c32bb8a2
4 changed files with 6 additions and 6 deletions

View file

@ -35,7 +35,7 @@ end
local function process(content)
return content:gsub("{{(.-)}}", function(lua_file)
local f = io.open(lua_file, "r")
local c = f:read("*a")
local c = f:read("a")
f:close()
local output = {}
@ -74,7 +74,7 @@ end
local function generate_file(input, output)
local f = io.open(input, "r")
local content = f:read("*a")
local content = f:read("a")
f:close()
local out = process(content, output)