@gql.tada/cli-utils 1.3.10 → 1.3.11-canary-e14335afd4758306016fabbe71fa20d7d77d21e4
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/CHANGELOG.md +7 -0
- package/dist/gql-tada-cli.js +6 -1
- package/dist/gql-tada-cli.js.map +1 -1
- package/dist/gql-tada-cli.mjs +6 -1
- package/dist/gql-tada-cli.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @gql.tada/cli-utils
|
|
2
2
|
|
|
3
|
+
## 1.3.11-canary-e14335afd4758306016fabbe71fa20d7d77d21e4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ⚠️ Fix regression omitting the exit status code from the CLI. Failing commands will now correctly output exit code `1` instead of `0` again
|
|
8
|
+
Submitted by [@kitten](https://github.com/kitten) (See [#329](https://github.com/0no-co/gql.tada/pull/329))
|
|
9
|
+
|
|
3
10
|
## 1.3.10
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/gql-tada-cli.js
CHANGED
|
@@ -2595,7 +2595,12 @@ function compose(e) {
|
|
|
2595
2595
|
try {
|
|
2596
2596
|
yield* e;
|
|
2597
2597
|
} catch (e) {
|
|
2598
|
-
|
|
2598
|
+
if (e instanceof CLIError) {
|
|
2599
|
+
process.exitCode = e.exit;
|
|
2600
|
+
yield e;
|
|
2601
|
+
} else {
|
|
2602
|
+
yield ("" + e).trim();
|
|
2603
|
+
}
|
|
2599
2604
|
}
|
|
2600
2605
|
yield "\n";
|
|
2601
2606
|
}(e)), concatMap((e => "object" == typeof e && !(e instanceof CLIError) ? compose(e) : fromValue(e))), filter((e => null != e)), share);
|