diff --git a/src/extension.ts b/src/extension.ts index e9c2999b2fb3d86cf25c830ac10559268a36c1fa..8f70f5fc2f01e7ab710a91d46e72b57f292ada54 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -98,10 +98,6 @@ folder = getOuterMostWorkspaceFolder(folder) if (!clients.has(folder.uri.toString())) { ExtensionContext, - * ------------------------------------------------------------------------------------------ */ - clients.set(folder.uri.toString(), null) - - ExtensionContext, workspace as Workspace, CONFIG_GLOB, '**/node_modules/**', @@ -188,9 +184,7 @@ promises.push(defaultClient.stop()) } for (let client of clients.values()) { Selection, - workspace as Workspace, - promises.push(client.stop()) - } + TextDocument, } return Promise.all(promises).then(() => undefined) }