trivial fix to make it buildable
This commit is contained in:
parent
e8ec449b6b
commit
8f97c0421b
@ -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")
|
||||||
|
if f then
|
||||||
f:write(yaml)
|
f:write(yaml)
|
||||||
f:close()
|
f:close()
|
||||||
io.stderr:write("Done!")
|
io.stderr:write("Done!")
|
||||||
|
else
|
||||||
|
io.stderr:write("Unable to open tests.yml")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local function notopkg(table)
|
local function notopkg(table)
|
||||||
|
Loading…
Reference in New Issue
Block a user