From 01ef30f18e20a2fe81116e605df16b3b1aecd94c Mon Sep 17 00:00:00 2001 From: Kumaraguru <19eucs071@skcet.ac.in> Date: Tue, 25 Feb 2025 19:01:23 -0700 Subject: [PATCH] fixing the error post download node --- src/handlers/installationHandlers.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/handlers/installationHandlers.js b/src/handlers/installationHandlers.js index 12ed04f..14b4e4c 100644 --- a/src/handlers/installationHandlers.js +++ b/src/handlers/installationHandlers.js @@ -258,23 +258,19 @@ async function performInstall(config) { name: 'choice', message: 'What would you like to do?', choices: [ - '1. Run the node', - '2. Return to main menu', - '3. Exit' + '1. Return to main menu', + '2. Exit', ], - pageSize: 3, + pageSize: 2, loop: true } ]); switch (choice.split('.')[0].trim()) { case '1': - await runCodex(config, showNavigationMenu); - break; - case '2': await showNavigationMenu(); break; - case '3': + case '2': process.exit(0); } } else {