Skip to content

Commit 1df05a2

Browse files
committed
Fix
1 parent dcdeefc commit 1df05a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Console/ConsoleApplication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function doRun(InputInterface $input, OutputInterface $output): int
8080
$tokens = $privatesAccessor->getPrivateProperty($input, 'tokens');
8181
$tokens = array_merge(['process'], $tokens);
8282
$privatesAccessor->setPrivateProperty($input, 'tokens', $tokens);
83-
} elseif (! $this->has($commandName)) {
83+
} elseif ($commandName !== 'p' && ! $this->has($commandName)) {
8484
$this->symfonyStyle->error(
8585
sprintf(
8686
'The following given path does not match any files or directories: %s%s',

0 commit comments

Comments
 (0)