From 8b0c6994d83a7f2e00a91c25ee166c841ff16617 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Mon, 15 Sep 2025 10:53:35 -0400 Subject: [PATCH] fix(ci): unused vars --- lua/cp/init.lua | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lua/cp/init.lua b/lua/cp/init.lua index 72b8bb7..27de29e 100644 --- a/lua/cp/init.lua +++ b/lua/cp/init.lua @@ -45,24 +45,6 @@ local function get_current_problem_key() end end -local function get_test_states() - local problem_key = get_current_problem_key() - if not problem_key then - return {} - end - - if not state.test_states[problem_key] then - state.test_states[problem_key] = {} - if state.test_cases then - for i = 1, #state.test_cases do - state.test_states[problem_key][i] = true - end - end - end - - return state.test_states[problem_key] -end - local function set_platform(platform) if not vim.tbl_contains(platforms, platform) then logger.log(("unknown platform. Available: [%s]"):format(table.concat(platforms, ", ")), vim.log.levels.ERROR)