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.
Files changed (3) hide show
  1. package/cli.js +6 -1
  2. package/constants.js +1 -1
  3. 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
- console.log('\n' + colors.red(text));
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';
1
+ export const version = '2.27.2';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rman",
3
3
  "description": "Repository manager",
4
- "version": "2.27.1",
4
+ "version": "2.27.2",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "dependencies": {