Skip to content

Commit

Permalink
fix 8kb issue on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed Feb 7, 2024
1 parent 9cb92e1 commit 5de3842
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bin.mts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ async function runPreparedConfigs(
async function runConfigs(config: ResolvedTestConfiguration, enabledTests: Set<TestConfiguration>) {
const prepared = await prepareConfigs(config, enabledTests);
if (args.listConfiguration) {
console.log(JSON.stringify(prepared.map((p) => p.dumpJson())));
await new Promise((r) =>
process.stdout.write(JSON.stringify(prepared.map((p) => p.dumpJson())), r),
);
return 0;
}

Expand Down

0 comments on commit 5de3842

Please sign in to comment.