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 f22d869 commit 60508f9Copy full SHA for 60508f9
lua/copilot/lsp/nodejs.lua
@@ -23,6 +23,8 @@ function M.get_node_version()
23
if cmd_output then
24
node_version = string.match(cmd_output, "^v(%S+)") or node_version
25
node_version_major = tonumber(string.match(node_version, "^(%d+)%.")) or node_version_major
26
+ else
27
+ cmd_output = "[no output]"
28
end
29
30
if node_version_major == 0 then
0 commit comments