aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/ctx.ts
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-31 02:37:27 +0000
committerGitHub <[email protected]>2019-12-31 02:37:27 +0000
commit98e20dac4edabeb0dd695110fdca29a6adc40019 (patch)
tree75d70fd728114cf3bee0bea997c9fa6c518ba3df /editors/code/src/ctx.ts
parent44d6ab2650bce0faac87b87ef279674d6f63f8ec (diff)
parentf984ef26528eca686abbb946b3b363dfe6d74822 (diff)
Merge #2699
2699: Switch impure functional style to pure imperative r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
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]) {