mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: buffer in paralllel combined with coverage
This commit is contained in:
@ -67,7 +67,12 @@ final class ResultPrinter
|
||||
|
||||
public function print(string $buffer): void
|
||||
{
|
||||
$this->output->write(OutputFormatter::escape($buffer));
|
||||
$buffer = OutputFormatter::escape($buffer);
|
||||
|
||||
if (! str_starts_with($buffer, "\nGenerating code coverage report")
|
||||
&& ! str_starts_with($buffer, 'done [')) {
|
||||
$this->output->write(OutputFormatter::escape($buffer));
|
||||
}
|
||||
}
|
||||
|
||||
public function flush(): void
|
||||
|
||||
Reference in New Issue
Block a user