trivial fix to make it buildable

This commit is contained in:
Akira TAGOH 2021-04-19 17:37:57 +09:00
parent e8ec449b6b
commit 8f97c0421b

View File

@ -750,9 +750,13 @@ local function gentestyaml()
end end
io.stderr:write("Generating tests.yml...") io.stderr:write("Generating tests.yml...")
local f = io.open("tests/tests.yml", "w") local f = io.open("tests/tests.yml", "w")
f:write(yaml) if f then
f:close() f:write(yaml)
io.stderr:write("Done!") f:close()
io.stderr:write("Done!")
else
io.stderr:write("Unable to open tests.yml")
end
end end
local function notopkg(table) local function notopkg(table)