Skip to content

Commit

Permalink
chore(internal): fix ecosystem tests error output (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie authored Sep 25, 2024
1 parent 9a5f461 commit ecdb4e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ecosystem-tests/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,9 @@ async function run(command: string, args: string[], config?: RunOpts): Promise<e
return await execa(command, args, config);
} catch (error) {
if (error instanceof Object && !state.verbose) {
const { stderr } = error as any;
const { stderr, stdout } = error as any;
if (stderr) process.stderr.write(stderr);
if (stdout) process.stderr.write(stdout);
}
throw error;
}
Expand Down

0 comments on commit ecdb4e9

Please sign in to comment.