@augment-vir/node 32.2.4 → 32.3.0
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.
|
@@ -108,7 +108,7 @@ export function streamShellCommand(command, { cwd, env = process.env, shell = 'b
|
|
|
108
108
|
/* node:coverage ignore next 2 */
|
|
109
109
|
const exitCode = inputExitCode ?? undefined;
|
|
110
110
|
const exitSignal = inputExitSignal ?? undefined;
|
|
111
|
-
if ((exitCode
|
|
111
|
+
if ((exitCode != undefined && exitCode !== 0) || exitSignal != undefined) {
|
|
112
112
|
const execException = Object.assign(new Error(`Command failed: ${command}`), {
|
|
113
113
|
cmd: command,
|
|
114
114
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@augment-vir/node",
|
|
3
|
-
"version": "32.
|
|
3
|
+
"version": "32.3.0",
|
|
4
4
|
"description": "A collection of augments, helpers types, functions, and classes only for Node.js (backend) JavaScript environments.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"augment",
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
"test:update": "npm test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@augment-vir/assert": "^32.
|
|
42
|
-
"@augment-vir/common": "^32.
|
|
41
|
+
"@augment-vir/assert": "^32.3.0",
|
|
42
|
+
"@augment-vir/common": "^32.3.0",
|
|
43
43
|
"@date-vir/duration": "^9.1.1",
|
|
44
44
|
"ansi-styles": "^7.0.0",
|
|
45
45
|
"sanitize-filename": "^1.6.4",
|
|
46
46
|
"terminate": "^2.8.0",
|
|
47
|
-
"tsx": "^4.23.
|
|
47
|
+
"tsx": "^4.23.13",
|
|
48
48
|
"typed-event-target": "^4.3.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@augment-vir/test": "^32.
|
|
52
|
-
"@types/node": "^26.
|
|
51
|
+
"@augment-vir/test": "^32.3.0",
|
|
52
|
+
"@types/node": "^26.5.0",
|
|
53
53
|
"@web/dev-server-esbuild": "^2.0.0",
|
|
54
54
|
"@web/test-runner": "^1.0.0",
|
|
55
55
|
"@web/test-runner-playwright": "^1.0.0",
|
|
@@ -163,7 +163,7 @@ export function streamShellCommand(
|
|
|
163
163
|
const exitCode: number | undefined = inputExitCode ?? undefined;
|
|
164
164
|
const exitSignal: NodeJS.Signals | undefined = inputExitSignal ?? undefined;
|
|
165
165
|
|
|
166
|
-
if ((exitCode
|
|
166
|
+
if ((exitCode != undefined && exitCode !== 0) || exitSignal != undefined) {
|
|
167
167
|
const execException: ExecException & {cwd?: string | undefined} = Object.assign(
|
|
168
168
|
new Error(`Command failed: ${command}`),
|
|
169
169
|
{
|