rman 2.27.1 → 2.27.2
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/cli.js +6 -1
- package/constants.js +1 -1
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -98,7 +98,12 @@ export async function runCli(options) {
|
|
|
98
98
|
: err
|
|
99
99
|
? err.message
|
|
100
100
|
: '';
|
|
101
|
-
|
|
101
|
+
/** **On stderr**, with every other failure line: printed to stdout, the reason left the
|
|
102
|
+
* stream a caller reads for errors with nothing on it but the status line - measured in
|
|
103
|
+
* `@panates/rman-preset`'s specs, whose `rman test` refusal came back as `✖ test 5ms`.
|
|
104
|
+
* It went to stdout all along; `runCli`'s catch used to print it a second time on stderr,
|
|
105
|
+
* which hid that until the marking below stopped the duplicate. */
|
|
106
|
+
console.error('\n' + colors.red(text));
|
|
102
107
|
/** The handler's own error is marked too, because it is the one that comes back: yargs
|
|
103
108
|
* rejects `parseAsync` with what the handler threw, not with what this throws, so
|
|
104
109
|
* `runCli`'s catch saw it unmarked and printed the same line again on stderr - every
|
package/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '2.27.
|
|
1
|
+
export const version = '2.27.2';
|