fix(runners): ignore undefined globals

This commit is contained in:
Michael Chris Lopez
2021-11-07 08:16:33 +08:00
parent ff841de5e5
commit 5c8701019b
8 changed files with 18 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
---@diagnostic disable: undefined-global
-- selene: allow(undefined_variable)
run(
{ specs, p, term },
@@ -12,3 +13,4 @@ run(
{ overwrite, string.format("extras/wezterm/%s.toml", name:sub(1, 1):upper() .. name:sub(2)) }
)
-- selene: deny(undefined_variable)
---@diagnostic enable: undefined-global