Skip to content

Commit ddd0cc2

Browse files
Fix: Redirect auto-sample logging to stderr (#272)
The auto-sample logging output in runner.ts was previously directed to stdout. This change redirects the logging output to stderr. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent 1d8775c commit ddd0cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export class Runner {
243243
);
244244
const mins = Math.floor(remainingSecs / 60);
245245
const secs = remainingSecs % 60;
246-
process.stdout.write(
246+
process.stderr.write(
247247
`\r${spinner[run % spinner.length]} Auto-sample ${sample} ` +
248248
`(timeout in ${mins}m${secs}s)` +
249249
ansi.erase.inLine(0)

0 commit comments

Comments
 (0)