1
0
Fork 0

Fix build

pull/10899/head
Jordi Boggiano 2022-06-24 11:12:57 +02:00
parent 4229c2c641
commit 978037fbfa
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ abstract class BaseDependencyCommand extends BaseCommand
$this->printTable($output, $results);
}
if ($inverted) {
if ($inverted && $input->hasArgument(self::ARGUMENT_CONSTRAINT)) {
$this->getIO()->writeError('Not finding what you were looking for? Try calling `composer update "'.$input->getArgument(self::ARGUMENT_PACKAGE).':'.$input->getArgument(self::ARGUMENT_CONSTRAINT).'" --dry-run` to get another view on the problem.');
}