Skip to content

Commit ecdb4e9

Browse files
chore(internal): fix ecosystem tests error output (#1096)
1 parent 9a5f461 commit ecdb4e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: ecosystem-tests/cli.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,9 @@ async function run(command: string, args: string[], config?: RunOpts): Promise<e
506506
return await execa(command, args, config);
507507
} catch (error) {
508508
if (error instanceof Object && !state.verbose) {
509-
const { stderr } = error as any;
509+
const { stderr, stdout } = error as any;
510510
if (stderr) process.stderr.write(stderr);
511+
if (stdout) process.stderr.write(stdout);
511512
}
512513
throw error;
513514
}

0 commit comments

Comments
 (0)