fixing the error post download node

This commit is contained in:
Kumaraguru 2025-02-25 19:01:23 -07:00
parent 806b47e7e5
commit 01ef30f18e
No known key found for this signature in database
GPG Key ID: 4E4555A84ECD28F7

View File

@ -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 {