fix some cachign
This commit is contained in:
parent
a925686a17
commit
e6c09a4897
5 changed files with 42 additions and 25 deletions
|
|
@ -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.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue