We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fd7b50 commit e4156deCopy full SHA for e4156de
lua/copilot/lsp/nodejs.lua
@@ -13,8 +13,7 @@ local M = {
13
---@return nil|string node_version_error
14
function M.get_node_version()
15
if not M.node_version then
16
- local version_cmd = vim.split(M.node_command, " ")
17
- table.insert(version_cmd, "--version")
+ local version_cmd = { M.node_command, "--version" }
18
19
local node_version_major = 0
20
local node_version = ""
0 commit comments