airterm 1.2.5 → 1.2.6
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/cli.js +2 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -441,10 +441,8 @@ function Connecting({ code, connection, onError }) {
|
|
|
441
441
|
const exitCode = connectSSH(conn);
|
|
442
442
|
if (exitCode !== 0) {
|
|
443
443
|
console.log(
|
|
444
|
-
"\n\x1B[33mConnection failed.\x1B[0m
|
|
444
|
+
"\n\x1B[33mConnection failed.\x1B[0m Run \x1B[1mairterm --reset\x1B[0m and request a new access code.\n"
|
|
445
445
|
);
|
|
446
|
-
console.log(` \x1B[1mairterm --reset\x1B[0m`);
|
|
447
|
-
console.log("Then request a new access code from your AirClaw.\n");
|
|
448
446
|
}
|
|
449
447
|
process.exit(exitCode);
|
|
450
448
|
}
|
|
@@ -628,10 +626,8 @@ if (first === "--list" || first === "-l") {
|
|
|
628
626
|
const exitCode = connectSSH(conn, remoteCmd);
|
|
629
627
|
if (exitCode !== 0) {
|
|
630
628
|
console.error(
|
|
631
|
-
"\n\x1B[33mConnection failed.\x1B[0m
|
|
629
|
+
"\n\x1B[33mConnection failed.\x1B[0m Run \x1B[1mairterm --reset\x1B[0m and request a new access code.\n"
|
|
632
630
|
);
|
|
633
|
-
console.error(` \x1B[1mairterm --reset\x1B[0m`);
|
|
634
|
-
console.error("Then request a new access code from your AirClaw.\n");
|
|
635
631
|
}
|
|
636
632
|
process.exit(exitCode);
|
|
637
633
|
}
|