@rnx-kit/cli 0.16.25 → 0.16.26
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/lib/clean.js +1 -0
- package/package.json +2 -2
- package/src/clean.ts +1 -0
package/lib/clean.js
CHANGED
|
@@ -165,6 +165,7 @@ function execute(command, args, cwd) {
|
|
|
165
165
|
const process = (0, child_process_1.spawn)(command, args, {
|
|
166
166
|
cwd,
|
|
167
167
|
stdio: ["inherit", null, null],
|
|
168
|
+
shell: command.endsWith(".bat") || command.endsWith(".cmd"),
|
|
168
169
|
});
|
|
169
170
|
const stderr = [];
|
|
170
171
|
process.stderr.on("data", (data) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnx-kit/cli",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.26",
|
|
4
4
|
"description": "Command-line interface for working with kit packages in your repo",
|
|
5
5
|
"homepage": "https://github.com/microsoft/rnx-kit/tree/main/packages/cli#readme",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"test": "rnx-kit-scripts test"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@rnx-kit/align-deps": "^2.4.
|
|
40
|
+
"@rnx-kit/align-deps": "^2.4.3",
|
|
41
41
|
"@rnx-kit/config": "^0.6.6",
|
|
42
42
|
"@rnx-kit/console": "^1.1.0",
|
|
43
43
|
"@rnx-kit/metro-plugin-cyclic-dependencies-detector": "^1.1.1",
|
package/src/clean.ts
CHANGED
|
@@ -174,6 +174,7 @@ function execute(command: string, args: string[], cwd: string): Promise<void> {
|
|
|
174
174
|
const process = spawn(command, args, {
|
|
175
175
|
cwd,
|
|
176
176
|
stdio: ["inherit", null, null],
|
|
177
|
+
shell: command.endsWith(".bat") || command.endsWith(".cmd"),
|
|
177
178
|
});
|
|
178
179
|
|
|
179
180
|
const stderr: Buffer[] = [];
|