diff options
-rw-r--r-- | editors/code/src/main.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index 8c1610570..9743115fb 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts | |||
@@ -344,7 +344,7 @@ async function performDownloadWithRetryDialog<T>(downloadFunc: () => Promise<T>, | |||
344 | try { | 344 | try { |
345 | return await downloadFunc(); | 345 | return await downloadFunc(); |
346 | } catch (e) { | 346 | } catch (e) { |
347 | let selected = await vscode.window.showErrorMessage("Failed perform download: " + e.message, {}, { | 347 | const selected = await vscode.window.showErrorMessage("Failed perform download: " + e.message, {}, { |
348 | title: "Update Github Auth Token", | 348 | title: "Update Github Auth Token", |
349 | updateToken: true, | 349 | updateToken: true, |
350 | }, { | 350 | }, { |
@@ -353,7 +353,7 @@ async function performDownloadWithRetryDialog<T>(downloadFunc: () => Promise<T>, | |||
353 | }, { | 353 | }, { |
354 | title: "Dismiss", | 354 | title: "Dismiss", |
355 | }); | 355 | }); |
356 | 356 | ||
357 | if (selected?.updateToken) { | 357 | if (selected?.updateToken) { |
358 | await queryForGithubToken(state); | 358 | await queryForGithubToken(state); |
359 | continue; | 359 | continue; |