Port to gpui2
This commit is contained in:
parent
6e44f53ea1
commit
3796e7eecb
4 changed files with 823 additions and 677 deletions
|
@ -153,7 +153,10 @@ async function handleMessage(message, prettier) {
|
|||
const { method, id, params } = message;
|
||||
if (method === undefined) {
|
||||
throw new Error(`Message method is undefined: ${JSON.stringify(message)}`);
|
||||
} else if (method == "initialized") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (id === undefined) {
|
||||
throw new Error(`Message id is undefined: ${JSON.stringify(message)}`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue