Skip to content

Commit

Permalink
fix return msg
Browse files Browse the repository at this point in the history
  • Loading branch information
0fatal committed Nov 1, 2023
1 parent be57ff8 commit 5f78456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtimes/nodejs/src/support/lsp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class LspWebSocket {
// @ts-ignore
if (message?.error?.code === -32601) {
// suppress error messages that cause lsp server to shut down
return
return '' as any
}

if (lsp.Message.isRequest(message)) {
Expand Down

0 comments on commit 5f78456

Please sign in to comment.