1
0
Fork 0

Merge pull request #632 from igorw/no-suggest-installed

Do not suggest packages that were installed
pull/633/head
Jordi Boggiano 2012-04-27 05:42:10 -07:00
commit f5ea87e855
1 changed files with 3 additions and 1 deletions

View File

@ -154,8 +154,10 @@ class Installer
// output suggestions
foreach ($this->suggestedPackages as $suggestion) {
if (!$installedRepo->findPackages($suggestion['target'])) {
$this->io->write($suggestion['source'].' suggests installing '.$suggestion['target'].' ('.$suggestion['reason'].')');
}
}
if (!$this->dryRun) {
// write lock