Merge pull request #1299 from FaSe22/handle-c-flag

fix: Pest ignores '-c' option
This commit is contained in:
nuno maduro
2025-07-22 23:12:07 +01:00
committed by GitHub

View File

@ -34,7 +34,7 @@ final class Configuration implements HandlesArguments, Terminable
*/ */
public function handleArguments(array $arguments): array public function handleArguments(array $arguments): array
{ {
if ($this->hasArgument('--configuration', $arguments) || $this->hasCustomConfigurationFile()) { if ($this->hasArgument('--configuration', $arguments) || $this->hasArgument('-c', $arguments) || $this->hasCustomConfigurationFile()) {
return $arguments; return $arguments;
} }