fix some cachign

This commit is contained in:
Barrett Ruth 2025-10-01 17:08:36 -04:00
parent a925686a17
commit e6c09a4897
5 changed files with 42 additions and 25 deletions

View file

@ -62,6 +62,7 @@ function M.toggle_interactive()
local cache = require('cp.cache')
cache.load()
local contest_data = cache.get_contest_data(platform, contest_id)
vim.print('checking cache - contes_data (DLETE ME): ', contest_data)
if contest_data and not contest_data.interactive then
logger.log(
'This is NOT an interactive problem. Use :CP run instead - aborting.',