doable-cli 0.1.2 → 0.1.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/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -502,6 +502,9 @@ function registerLoginCommand(program2) {
|
|
|
502
502
|
if (err instanceof ApiError && err.status === 0) {
|
|
503
503
|
continue;
|
|
504
504
|
}
|
|
505
|
+
if (err instanceof ApiError && err.status >= 500 && err.status < 600) {
|
|
506
|
+
continue;
|
|
507
|
+
}
|
|
505
508
|
pollSpinner.fail("Login failed.");
|
|
506
509
|
if (err instanceof ApiError || err instanceof Error) {
|
|
507
510
|
console.error(chalk4.red(err.message));
|
|
@@ -6508,7 +6511,7 @@ function runNpmGlobal() {
|
|
|
6508
6511
|
}
|
|
6509
6512
|
|
|
6510
6513
|
// src/index.ts
|
|
6511
|
-
var CLI_VERSION = "0.1.
|
|
6514
|
+
var CLI_VERSION = "0.1.3" ;
|
|
6512
6515
|
var program = new Command();
|
|
6513
6516
|
program.name("doable").description("Doable -- AI-native deployment platform").version(CLI_VERSION, "-v, --version");
|
|
6514
6517
|
registerLoginCommand(program);
|