Fix tslint

This commit is contained in:
Matthias Einwag 2020-09-22 23:41:51 -07:00
parent b93ced6f63
commit 1503d9de41

View file

@ -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;