mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 02:54:00 +00:00
Fix tslint
This commit is contained in:
parent
b93ced6f63
commit
1503d9de41
@ -344,7 +344,7 @@ async function performDownloadWithRetryDialog<T>(downloadFunc: () => Promise<T>,
|
||||
try {
|
||||
return await downloadFunc();
|
||||
} catch (e) {
|
||||
let selected = await vscode.window.showErrorMessage("Failed perform download: " + e.message, {}, {
|
||||
const selected = await vscode.window.showErrorMessage("Failed perform download: " + e.message, {}, {
|
||||
title: "Update Github Auth Token",
|
||||
updateToken: true,
|
||||
}, {
|
||||
@ -353,7 +353,7 @@ async function performDownloadWithRetryDialog<T>(downloadFunc: () => Promise<T>,
|
||||
}, {
|
||||
title: "Dismiss",
|
||||
});
|
||||
|
||||
|
||||
if (selected?.updateToken) {
|
||||
await queryForGithubToken(state);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user