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);
322
+
constconfirmReset=awaitthis.yesOrNo("Are you sure you want to reset this challenge? This will remove the challenge from your local machine and re-install it.",false);
314
323
if(!confirmReset){
315
324
awaitthis.goBack();
316
325
}else{
@@ -319,12 +328,11 @@ Open up the challenge in your favorite code editor and follow the instructions i
319
328
rmSync(targetDir,{recursive: true,force: true});
320
329
console.log(`Installing fresh copy of challenge...`);
321
330
awaitsetupChallenge(name,installLocation);
322
-
this.globalTree=this.buildTree();
331
+
// Rebuild the tree and history
332
+
this.rebuildHistory();
323
333
awaitthis.pressEnterToContinue();
324
-
this.history.pop();// Remove the old node from history since it has different actions
0 commit comments