fix: cleanup logs

This commit is contained in:
Barrett Ruth 2025-10-23 18:29:20 -04:00
parent c312ccbb4d
commit dc6f2fd5b6
3 changed files with 30 additions and 66 deletions

View file

@ -165,6 +165,7 @@ end
function M.setup_problem(problem_id, language)
local platform = state.get_platform()
if not platform then
logger.log('No platform/contest/problem configured.', vim.log.levels.ERROR)
return
end