mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
fix: profile plugin
This commit is contained in:
@ -19,6 +19,10 @@ final class Profile implements HandlesArguments
|
|||||||
*/
|
*/
|
||||||
public function handleArguments(array $arguments): array
|
public function handleArguments(array $arguments): array
|
||||||
{
|
{
|
||||||
|
if (! $this->hasArgument('--profile', $arguments)) {
|
||||||
|
return $arguments;
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->hasArgument('--parallel', $arguments)) {
|
if ($this->hasArgument('--parallel', $arguments)) {
|
||||||
throw new InvalidOption('The [--profile] option is not supported when running in parallel.');
|
throw new InvalidOption('The [--profile] option is not supported when running in parallel.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user