ci: autogen recipes
This commit is contained in:
@ -136,7 +136,7 @@ function M.recipes()
|
|||||||
local header = {} ---@type string[]
|
local header = {} ---@type string[]
|
||||||
local block = {} ---@type string[]
|
local block = {} ---@type string[]
|
||||||
for _, line in ipairs(lines) do
|
for _, line in ipairs(lines) do
|
||||||
local comment = line:match("^ %-%- (.*)")
|
local comment = line:match("^ %-%- ?(.*)")
|
||||||
if comment then
|
if comment then
|
||||||
header[#header + 1] = comment
|
header[#header + 1] = comment
|
||||||
elseif line:find("^ {") then
|
elseif line:find("^ {") then
|
||||||
|
Reference in New Issue
Block a user