sim 2.2.0 → 2.2.1-preview.176.1
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/embed.d.ts +2 -2
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
package/dist/embed.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ export declare function createEmbeddedClient(identity: EmbeddedCliIdentity): Sim
|
|
|
29
29
|
/**
|
|
30
30
|
* Runs one CLI invocation in-process. `argv` is the token list exactly as the
|
|
31
31
|
* terminal would receive it (no leading node/binary tokens). Errors the
|
|
32
|
-
* installed CLI would print-and-exit
|
|
33
|
-
* stderr
|
|
32
|
+
* installed CLI would print-and-exit on come back the same way: rendered to
|
|
33
|
+
* stderr with the same exit code — never thrown.
|
|
34
34
|
*/
|
|
35
35
|
export declare function runEmbeddedCli(argv: string[], identity: EmbeddedCliIdentity, options?: {
|
|
36
36
|
workingDirectory?: string;
|
package/dist/runtime.js
CHANGED
|
@@ -24564,7 +24564,7 @@ function renderEmbeddedError(ctx, error) {
|
|
|
24564
24564
|
for (const line of formatApiErrorDetails(error.details))
|
|
24565
24565
|
ctx.stderr.diagnostic(sanitize(line));
|
|
24566
24566
|
}
|
|
24567
|
-
return
|
|
24567
|
+
return error.exitCode;
|
|
24568
24568
|
}
|
|
24569
24569
|
ctx.stderr.diagnostic(`Error: ${sanitize(error instanceof Error ? error.message : String(error))}`);
|
|
24570
24570
|
return 1;
|