From cfa5afa02d415c32e43498dcd0e8b8fa756b9093 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 27 Feb 2020 10:46:43 +0100 Subject: Fix lint --- editors/code/src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 1f90af898..540f7c9ea 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts @@ -45,7 +45,7 @@ export async function createClient(config: Config, serverPath: string): Promise< middleware: { // Workaround for https://github.com/microsoft/vscode-languageserver-node/issues/576 async provideDocumentSemanticTokens(document: vscode.TextDocument, token: vscode.CancellationToken, next: DocumentSemanticsTokensSignature) { - let res = await next(document, token); + const res = await next(document, token); if (res === undefined) throw new Error('busy'); return res; } -- cgit v1.2.3