mirror of
https://github.com/morluto/rea.git
synced 2026-10-26 17:35:11 +00:00
fix(cli): coerce web execution observation duration
This commit is contained in:
1 parent
800454c0ee
commit
9d569c344a
4 files changed
+37
-7
No files matched your search
@@ -274,7 +274,11 @@ async function executionCli(entrypoint, input, env, action, isolatedContext) {
|
||||
});
|
||||
try {
|
||||
const [code] = await once(child, "close");
|
||||
assert.equal(code, 0, stderr);
|
||||
assert.equal(
|
||||
code,
|
||||
0,
|
||||
`observe-web-execution exited ${String(code)} (signal ${String(child.signalCode)})\nstdout:\n${stdout}\nstderr:\n${stderr}`,
|
||||
);
|
||||
assert.ok(actionPromise, "CLI did not report an actual armed point");
|
||||
await actionPromise;
|
||||
return stdout;
|
||||
|
||||
Reference in new issue
Block a user