fix(ci): formatting and typing

This commit is contained in:
Barrett Ruth 2026-02-18 14:07:53 -05:00 committed by Barrett Ruth
parent e02a29bd40
commit b6f3398bbc
3 changed files with 16 additions and 17 deletions

View file

@ -44,7 +44,12 @@ local function run_scraper(platform, subcommand, args, opts)
local handle
handle = uv.spawn(
cmd[1],
{ args = vim.list_slice(cmd, 2), stdio = { nil, stdout, stderr }, env = env, cwd = plugin_path },
{
args = vim.list_slice(cmd, 2),
stdio = { nil, stdout, stderr },
env = env,
cwd = plugin_path,
},
function(code, signal)
if buf ~= '' and opts.on_event then
local ok_tail, ev_tail = pcall(vim.json.decode, buf)