fix(ci): typing
This commit is contained in:
parent
7a027c7379
commit
3821174c6e
2 changed files with 2 additions and 6 deletions
|
|
@ -647,11 +647,7 @@ local function setup_contest(contest_id, language)
|
||||||
end
|
end
|
||||||
|
|
||||||
state.contest_id = contest_id
|
state.contest_id = contest_id
|
||||||
if state.platform == 'cses' then
|
setup_problem(contest_id, problems[1].id, language)
|
||||||
setup_problem(problems[1].id, nil, language)
|
|
||||||
else
|
|
||||||
setup_problem(contest_id, problems[1].id, language)
|
|
||||||
end
|
|
||||||
|
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -315,7 +315,7 @@ function M.scrape_problems_parallel(platform, contest_id, problems, config)
|
||||||
local plugin_path = get_plugin_path()
|
local plugin_path = get_plugin_path()
|
||||||
local jobs = {}
|
local jobs = {}
|
||||||
|
|
||||||
for _, problem in ipairs(problems) do
|
for _, prob in ipairs(problems) do
|
||||||
local args
|
local args
|
||||||
if platform == 'cses' then
|
if platform == 'cses' then
|
||||||
args = {
|
args = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue