fix(ci): tests
This commit is contained in:
parent
1d14043f20
commit
2c2a8762a9
8 changed files with 491 additions and 247 deletions
|
|
@ -44,8 +44,7 @@ function M.create_context(contest, contest_id, problem_id, config, language)
|
|||
|
||||
local base_name
|
||||
if config.filename then
|
||||
local source_file = config.filename(contest, contest_id, problem_id, config, language)
|
||||
base_name = vim.fn.fnamemodify(source_file, ':t:r')
|
||||
base_name = config.filename(contest, contest_id, problem_id, config, language)
|
||||
else
|
||||
local default_filename = require('cp.config').default_filename
|
||||
base_name = default_filename(contest_id, problem_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue