You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError(`Failed to check for latest SAMM-CLI release: ${errorinstanceofError ? error.message : String(error)}`);
42
+
});
41
43
if(configuredVersion!==latestVersion){
42
44
vscode.window.showInformationMessage(`There is a new SAMM-CLI release available: ${configuredVersion} -> ${latestVersion}`,'Download & Use').then(async(selection)=>{
43
45
if(selection==='Download & Use'){
@@ -74,15 +76,15 @@ export class SammCliDownloader {
74
76
});
75
77
76
78
if(!response.ok){
77
-
thrownewError(`Failed to fetch samm-cli releases: ${response.status}${response.statusText}`);
79
+
returnPromise.reject(newError(`Failed to fetch SAMM-CLI releases from GitHub: ${response.status}${response.statusText}`));
0 commit comments