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

@@ -88,6 +88,8 @@ local function to_iterm(colorscheme)
return { template }
end
---@diagnostic disable: undefined-global
-- selene: allow(undefined_variable)
run({ specs, term }, to_iterm, { overwrite, string.format("extras/iterm/%s.itermcolors", name) })
-- selene: deny(undefined_variable)
---@diagnostic enable: undefined-global