fix(config): platforms, not contests

This commit is contained in:
Barrett Ruth 2025-10-04 16:29:35 -04:00
parent ef8ee26edf
commit 0a320945a0
4 changed files with 21 additions and 17 deletions

View file

@ -72,7 +72,7 @@ function M.get_source_file(language)
end
local config = require('cp.config').get_config()
local contest_config = config.contests[M.get_platform()]
local contest_config = config.platforms[M.get_platform()]
if not contest_config then
return nil
end