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
constconfirmReset=awaitthis.pressEnterToContinue("Are you sure you want to reset this challenge? This will remove the challenge from your local machine and re-install it.",false);
306
+
if(!confirmReset){
307
+
awaitthis.goBack();
308
+
}else{
309
+
consttargetDir=`${installLocation}/${name}`;
310
+
console.log(`Removing ${targetDir}...`);
311
+
rmSync(targetDir,{recursive: true,force: true});
312
+
console.log(`Installing fresh copy of challenge...`);
313
+
awaitsetupChallenge(name,installLocation);
314
+
this.globalTree=this.buildTree();
315
+
awaitthis.pressEnterToContinue();
316
+
this.history.pop();// Remove the old node from history since it has different actions
0 commit comments