From 5c93bd259ee3ba1df716764f95ab0c324bbd62a4 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 12 Sep 2025 23:13:16 -0500 Subject: [PATCH] fix shadowing --- lua/cp/scrape.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/cp/scrape.lua b/lua/cp/scrape.lua index 9ad0a86..2bd4196 100644 --- a/lua/cp/scrape.lua +++ b/lua/cp/scrape.lua @@ -101,9 +101,7 @@ function M.scrape_problem(contest, problem_id, problem_letter) return data end - local full_problem_id = data.problem_id:lower() - local input_file = "io/" .. full_problem_id .. ".in" - local expected_file = "io/" .. full_problem_id .. ".expected" + full_problem_id = data.problem_id:lower() if #data.test_cases > 0 then local all_inputs = {}