From 8346bdc04d5bbaad133c6377bf8863a2d298d55a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Dec 2019 02:17:50 +0100 Subject: Rearrange code --- editors/code/src/ctx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code/src/ctx.ts') diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index 39eddfcbd..30dd9811c 100644 --- a/editors/code/src/ctx.ts +++ b/editors/code/src/ctx.ts @@ -65,7 +65,7 @@ export class Ctx { async sendRequestWithRetry( method: string, param: any, - token: vscode.CancellationToken, + token?: vscode.CancellationToken, ): Promise { await this.client.onReady(); for (const delay of [2, 4, 6, 8, 10, null]) { -- cgit v1.2.3