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
|
||||
|
||||
state.contest_id = contest_id
|
||||
if state.platform == 'cses' then
|
||||
setup_problem(problems[1].id, nil, language)
|
||||
else
|
||||
setup_problem(contest_id, problems[1].id, language)
|
||||
end
|
||||
setup_problem(contest_id, problems[1].id, language)
|
||||
|
||||
return true
|
||||
end
|
||||
|
|
|
|||
|
|
@ -315,7 +315,7 @@ function M.scrape_problems_parallel(platform, contest_id, problems, config)
|
|||
local plugin_path = get_plugin_path()
|
||||
local jobs = {}
|
||||
|
||||
for _, problem in ipairs(problems) do
|
||||
for _, prob in ipairs(problems) do
|
||||
local args
|
||||
if platform == 'cses' then
|
||||
args = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue