We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77e3a49 commit 9cb5396Copy full SHA for 9cb5396
1 file changed
lua/copilot/client.lua
@@ -49,7 +49,7 @@ function M.get_node_version()
49
if not M.node_version then
50
local node = config.get("copilot_node_command")
51
52
- local cmd = node .. " --version"
+ local cmd = { node, "--version" }
53
local cmd_output_table = vim.fn.systemlist(cmd, nil, false)
54
local cmd_output = cmd_output_table[#cmd_output_table]
55
local cmd_exit_code = vim.v.shell_error
0 commit comments