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 c87d191 commit cb24d9aCopy full SHA for cb24d9a
src/languageSupport/languages/flux/lsp/worker/utils.ts
@@ -1,5 +1,9 @@
1
export const respond = (msg, cb) => {
2
try {
3
+ // LSP spec permits a blank response
4
+ if (!msg) {
5
+ return
6
+ }
7
const d = JSON.parse(msg)
8
cb(d)
9
} catch (e) {
0 commit comments