fix(ci): unused variables

This commit is contained in:
Barrett Ruth 2025-09-21 11:36:06 -04:00
parent c68e6fbc19
commit 1b8365265d
6 changed files with 97 additions and 27 deletions

View file

@ -37,6 +37,12 @@ end
local function get_contests_for_platform(platform)
local contests = {}
cache.load()
local cached_contests = cache.get_contest_list(platform)
if cached_contests then
return cached_contests
end
if not utils.setup_python_env() then
return contests
end
@ -81,6 +87,7 @@ local function get_contests_for_platform(platform)
})
end
cache.set_contest_list(platform, contests)
return contests
end