fix: profile plugin

This commit is contained in:
Nuno Maduro
2023-03-19 04:00:10 +00:00
parent 7287d65865
commit ccfcd336fe

View File

@ -19,6 +19,10 @@ final class Profile implements HandlesArguments
*/
public function handleArguments(array $arguments): array
{
if (! $this->hasArgument('--profile', $arguments)) {
return $arguments;
}
if ($this->hasArgument('--parallel', $arguments)) {
throw new InvalidOption('The [--profile] option is not supported when running in parallel.');
}