diff options
author | Matthias Einwag <[email protected]> | 2020-09-23 07:41:51 +0100 |
---|---|---|
committer | Matthias Einwag <[email protected]> | 2020-09-23 07:41:51 +0100 |
commit | 1503d9de411347752fab7313e53d2061fa0186b1 (patch) | |
tree | e3df74e4b6c9c5517ca11c301e0b1bc73f0e631b | |
parent | b93ced6f633fab2733b40aef2541582b00e053fb (diff) |
Fix tslint
-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; |