From 8df38d0ca860bf519935340fb363b9abd2f9c337 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 20 Sep 2025 13:40:32 -0400 Subject: [PATCH] fix(ci): typing --- spec/execute_spec.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/execute_spec.lua b/spec/execute_spec.lua index aae7593..12e7f67 100644 --- a/spec/execute_spec.lua +++ b/spec/execute_spec.lua @@ -417,16 +417,16 @@ describe('cp.execute', function() end local execute_command = require('cp.execute').execute_command - or function(cmd, input_data, timeout_ms) - local redirected_cmd = vim.deepcopy(cmd) + or function(command, stdin_data, timeout) + local redirected_cmd = vim.deepcopy(command) if #redirected_cmd > 0 then redirected_cmd[#redirected_cmd] = redirected_cmd[#redirected_cmd] .. ' 2>&1' end local result = vim .system({ 'sh', '-c', table.concat(redirected_cmd, ' ') }, { - stdin = input_data, - timeout = timeout_ms, + stdin = stdin_data, + timeout = timeout, text = true, }) :wait()