fix(ci/selene): remove name shadowing
This commit is contained in:
parent
95b0381ef5
commit
3889341335
1 changed files with 2 additions and 1 deletions
|
|
@ -135,8 +135,9 @@ local function setup_problem(contest_id, problem_id, language)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local ctx = problem.create_context(state.platform, state.contest_id, state.problem_id, config, language)
|
||||||
|
|
||||||
if config.hooks and config.hooks.setup_code then
|
if config.hooks and config.hooks.setup_code then
|
||||||
local ctx = problem.create_context(state.platform, state.contest_id, state.problem_id, config)
|
|
||||||
config.hooks.setup_code(ctx)
|
config.hooks.setup_code(ctx)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue