mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Fix tslint
This commit is contained in:
parent
b93ced6f63
commit
1503d9de41
1 changed files with 2 additions and 2 deletions
|
@ -344,7 +344,7 @@ async function performDownloadWithRetryDialog<T>(downloadFunc: () => Promise<T>,
|
||||||
try {
|
try {
|
||||||
return await downloadFunc();
|
return await downloadFunc();
|
||||||
} catch (e) {
|
} 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",
|
title: "Update Github Auth Token",
|
||||||
updateToken: true,
|
updateToken: true,
|
||||||
}, {
|
}, {
|
||||||
|
@ -353,7 +353,7 @@ async function performDownloadWithRetryDialog<T>(downloadFunc: () => Promise<T>,
|
||||||
}, {
|
}, {
|
||||||
title: "Dismiss",
|
title: "Dismiss",
|
||||||
});
|
});
|
||||||
|
|
||||||
if (selected?.updateToken) {
|
if (selected?.updateToken) {
|
||||||
await queryForGithubToken(state);
|
await queryForGithubToken(state);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue