fix(idris2): Use table.insert instead of the non-existing table:insert method
This commit is contained in:
parent
dcf0c7556b
commit
a50cb8c1b7
|
@ -80,7 +80,8 @@ local function setup_tasks()
|
||||||
local templates = {}
|
local templates = {}
|
||||||
|
|
||||||
for _, ipkg_path in pairs(ipkg_paths) do
|
for _, ipkg_path in pairs(ipkg_paths) do
|
||||||
templates:insert(
|
table.insert(
|
||||||
|
templates,
|
||||||
overseer.wrap_template(
|
overseer.wrap_template(
|
||||||
generic_build_tmpl,
|
generic_build_tmpl,
|
||||||
{ name = "Build " .. ipkg_path},
|
{ name = "Build " .. ipkg_path},
|
||||||
|
@ -88,7 +89,8 @@ local function setup_tasks()
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
templates:insert(
|
table.insert(
|
||||||
|
templates,
|
||||||
overseer.wrap_template(
|
overseer.wrap_template(
|
||||||
generic_run_tmpl,
|
generic_run_tmpl,
|
||||||
{ name = "Run " .. ipkg_path },
|
{ name = "Run " .. ipkg_path },
|
||||||
|
|
Loading…
Reference in a new issue