Add hint to why-not that calling update with a temporary constraint can also help elucidate an issue
parent
eba49147e7
commit
ddecd5e328
|
@ -127,6 +127,10 @@ abstract class BaseDependencyCommand extends BaseCommand
|
|||
$this->printTable($output, $results);
|
||||
}
|
||||
|
||||
if ($inverted) {
|
||||
$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.');
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue