diff options
Diffstat (limited to 'editors/code/src/ctx.ts')
-rw-r--r-- | editors/code/src/ctx.ts | 2 |
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]) { |