icoa-cli 2.19.2 → 2.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/ctf.js +5 -1
- package/package.json +1 -1
package/dist/commands/ctf.js
CHANGED
|
@@ -121,8 +121,12 @@ export function registerCtfCommands(program) {
|
|
|
121
121
|
console.log(chalk.white(' status ') + chalk.gray('Check score & budget'));
|
|
122
122
|
}
|
|
123
123
|
catch (err) {
|
|
124
|
-
spinner2.fail('Connection failed');
|
|
124
|
+
spinner2.fail('Connection test failed');
|
|
125
125
|
printError(err.message);
|
|
126
|
+
// Still save URL so user can retry
|
|
127
|
+
saveConfig({ ctfdUrl: url, sessionCookie: sessionCookie });
|
|
128
|
+
console.log();
|
|
129
|
+
printInfo('Connection saved. Try: join ' + url);
|
|
126
130
|
}
|
|
127
131
|
});
|
|
128
132
|
// ─── icoa ctf logout ───
|