ci: autogen recipes

This commit is contained in:
Folke Lemaitre
2023-02-09 22:48:42 +01:00
parent 7336478d09
commit ddd1fceb76

View File

@ -136,7 +136,7 @@ function M.recipes()
local header = {} ---@type string[]
local block = {} ---@type string[]
for _, line in ipairs(lines) do
local comment = line:match("^ %-%- (.*)")
local comment = line:match("^ %-%- ?(.*)")
if comment then
header[#header + 1] = comment
elseif line:find("^ {") then