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