From 88315ed6e68ecfb0bc7e7e05886e1d1e28a9422e Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 3 Oct 2025 23:30:40 -0400 Subject: [PATCH] fix(ci): pre declare on lint --- lua/cp/scraper.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/cp/scraper.lua b/lua/cp/scraper.lua index 407fab8..0d334d6 100644 --- a/lua/cp/scraper.lua +++ b/lua/cp/scraper.lua @@ -34,7 +34,8 @@ local function run_scraper(platform, subcommand, args, opts) local stderr = uv.new_pipe(false) local buf = '' - local handle = uv.spawn( + local handle + handle = uv.spawn( cmd[1], { args = vim.list_slice(cmd, 2), stdio = { nil, stdout, stderr } }, function(code, signal)