Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(internal): fix ecosystem tests error output (#1096)
  • Loading branch information
RobertCraigie authored Sep 25, 2024
commit ecdb4e923f94e828d8758559aea78c82417b8f12
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