aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/ctx.ts
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-31 01:17:50 +0000
committerAleksey Kladov <[email protected]>2019-12-31 01:17:50 +0000
commit8346bdc04d5bbaad133c6377bf8863a2d298d55a (patch)
treec7f7e1d0aed4a2a5514c132f229e6d78a3a06f99 /editors/code/src/ctx.ts
parent44d6ab2650bce0faac87b87ef279674d6f63f8ec (diff)
Rearrange code
Diffstat (limited to 'editors/code/src/ctx.ts')
-rw-r--r--editors/code/src/ctx.ts2
1 files changed, 1 insertions, 1 deletions
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 {
65 async sendRequestWithRetry<R>( 65 async sendRequestWithRetry<R>(
66 method: string, 66 method: string,
67 param: any, 67 param: any,
68 token: vscode.CancellationToken, 68 token?: vscode.CancellationToken,
69 ): Promise<R> { 69 ): Promise<R> {
70 await this.client.onReady(); 70 await this.client.onReady();
71 for (const delay of [2, 4, 6, 8, 10, null]) { 71 for (const delay of [2, 4, 6, 8, 10, null]) {