This commit is contained in:
luke
2021-08-13 10:46:07 +01:00
parent c6435d5606
commit b6c06e8c30

View File

@ -53,7 +53,7 @@ use Symfony\Component\Console\Output\OutputInterface;
}
}
if ($runInParallel = $argv->hasParameterOption(['--parallel', '-P']) && !class_exists(\Pest\Parallel\Command::class)) {
if (($runInParallel = $argv->hasParameterOption(['--parallel', '-P'])) && !class_exists(\Pest\Parallel\Command::class)) {
$output->writeln("Parallel support requires the Pest Parallel plugin. Run <fg=yellow;options=bold>`composer require --dev pestphp/pest-plugin-parallel`</> first.");
exit(Command::FAILURE);
}