@swmansion/argent 0.33.1-next.5 → 0.33.1-next.6
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/dist/installer.mjs +5 -1
- package/package.json +1 -1
package/dist/installer.mjs
CHANGED
|
@@ -22471,7 +22471,11 @@ function runShellCommand(cmd, opts = {}) {
|
|
|
22471
22471
|
shell: process.platform === "win32",
|
|
22472
22472
|
...opts.cwd ? { cwd: opts.cwd } : {}
|
|
22473
22473
|
});
|
|
22474
|
+
let stdout2 = "";
|
|
22474
22475
|
let stderr = "";
|
|
22476
|
+
child.stdout?.on("data", (chunk) => {
|
|
22477
|
+
stdout2 += chunk.toString();
|
|
22478
|
+
});
|
|
22475
22479
|
child.stderr?.on("data", (chunk) => {
|
|
22476
22480
|
stderr += chunk.toString();
|
|
22477
22481
|
});
|
|
@@ -22480,7 +22484,7 @@ function runShellCommand(cmd, opts = {}) {
|
|
|
22480
22484
|
else
|
|
22481
22485
|
reject(
|
|
22482
22486
|
new ShellCommandError(
|
|
22483
|
-
stderr.trim() || (signal !== null ? `Command terminated by signal ${signal}` : `Command exited with code ${code}`),
|
|
22487
|
+
stderr.trim() || stdout2.trim() || (signal !== null ? `Command terminated by signal ${signal}` : `Command exited with code ${code}`),
|
|
22484
22488
|
code,
|
|
22485
22489
|
signal
|
|
22486
22490
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swmansion/argent",
|
|
3
|
-
"version": "0.33.1-next.
|
|
3
|
+
"version": "0.33.1-next.6",
|
|
4
4
|
"mcpName": "io.github.software-mansion/argent",
|
|
5
5
|
"description": "MCP server for iOS Simulator, Android Emulator, Chromium app and Mac app control",
|
|
6
6
|
"license": "Apache-2.0",
|