@travetto/cli 3.3.1 → 3.3.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/execute.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/cli",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "description": "CLI infrastructure for Travetto framework",
5
5
  "keywords": [
6
6
  "cli",
@@ -24,8 +24,8 @@
24
24
  "directory": "module/cli"
25
25
  },
26
26
  "dependencies": {
27
- "@travetto/schema": "^3.3.0",
28
- "@travetto/terminal": "^3.3.0"
27
+ "@travetto/schema": "^3.3.2",
28
+ "@travetto/terminal": "^3.3.1"
29
29
  },
30
30
  "travetto": {
31
31
  "displayName": "Command Line Interface"
package/src/execute.ts CHANGED
@@ -106,6 +106,7 @@ export class ExecutionManager {
106
106
  const action = this.#getAction(command, args);
107
107
  await this[action](command, args);
108
108
  } catch (err) {
109
+ process.exitCode ||= 1; // Trigger error state
109
110
  if (!(err instanceof Error)) {
110
111
  throw err;
111
112
  } else if (command && err instanceof CliValidationResultError) {