Skip to content

Commit 46a9d77

Browse files
committed
fix(nodejs): use experimental sql parameter for nodejs
1 parent 927053b commit 46a9d77

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

lua/copilot/lsp/binary.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ end
270270
---@return table
271271
function M.get_execute_command()
272272
return {
273+
"--experimental-sqlite",
273274
M.server_path or M.get_server_path(),
274275
"--stdio",
275276
}

lua/copilot/lsp/nodejs.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ end
9696

9797
---@return table
9898
function M.get_execute_command()
99-
return util.append_command(M.node_command, { M.server_path or M.get_server_path(), "--stdio" })
99+
return util.append_command(
100+
M.node_command,
101+
{ "--experimental-sqlite", M.server_path or M.get_server_path(), "--stdio" }
102+
)
100103
end
101104

102105
---@param node_command? string|string[]

0 commit comments

Comments
 (0)