fix(ci): fix tests besides pane;
This commit is contained in:
parent
9dd51374fe
commit
d3414f3b7b
4 changed files with 19 additions and 10 deletions
|
|
@ -126,7 +126,7 @@ function M.setup(user_config)
|
|||
end
|
||||
|
||||
if user_config.scrapers then
|
||||
for contest_name, enabled in pairs(user_config.scrapers) do
|
||||
for _, contest_name in ipairs(user_config.scrapers) do
|
||||
if not vim.tbl_contains(constants.PLATFORMS, contest_name) then
|
||||
error(
|
||||
("Invalid contest '%s' in scrapers config. Valid contests: %s"):format(
|
||||
|
|
@ -135,11 +135,6 @@ function M.setup(user_config)
|
|||
)
|
||||
)
|
||||
end
|
||||
if type(enabled) ~= 'boolean' then
|
||||
error(
|
||||
("Scraper setting for '%s' must be boolean, got %s"):format(contest_name, type(enabled))
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue