mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix
This commit is contained in:
@ -114,6 +114,10 @@ final class Coverage implements AddsOutput, HandlesArguments
|
||||
*/
|
||||
public function addOutput(int $exitCode): int
|
||||
{
|
||||
if (Parallel::isWorker()) {
|
||||
return $exitCode;
|
||||
}
|
||||
|
||||
if ($exitCode === 0 && $this->coverage) {
|
||||
if (! \Pest\Support\Coverage::isAvailable()) {
|
||||
$this->output->writeln(
|
||||
|
||||
Reference in New Issue
Block a user