Skip to content

Commit 46b28e3

Browse files
committed
feat(command): show node.js version in ':Copilot version'
1 parent bf6bc0f commit 46b28e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/copilot/command.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ function mod.version()
1919
if client then
2020
local _, data = a.get_version(client)
2121
lines[#lines + 1] = "copilot/dist/agent.js" .. " " .. data.version
22+
lines[#lines + 1] = "Node.js" .. " " .. c.get_node_version()
2223
else
2324
lines[#lines + 1] = "copilot/dist/agent.js" .. " " .. "not running"
2425
end

0 commit comments

Comments
 (0)