Apply suggestions from code review
Co-authored-by: Veetaha <veetaha2@gmail.com>
This commit is contained in:
parent
45de3e738c
commit
87933e15ce
@ -358,7 +358,7 @@ async function performDownloadWithRetryDialog<T>(downloadFunc: () => Promise<T>,
|
|||||||
try {
|
try {
|
||||||
return await downloadFunc();
|
return await downloadFunc();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
const selected = await vscode.window.showErrorMessage("Failed perform download: " + e.message, {}, {
|
const selected = await vscode.window.showErrorMessage("Failed to download: " + e.message, {}, {
|
||||||
title: "Update Github Auth Token",
|
title: "Update Github Auth Token",
|
||||||
updateToken: true,
|
updateToken: true,
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user