Skip to content

output: Prevent BrokenPipeError with ndjson output

Ensure to flush stdout for ndjson output to avoid BrokenPipeError.

Fixes #4599 (closed).

For the record, I did not manage to write a test reproducing the issue.

Merge request reports