Merge pull request #632 from igorw/no-suggest-installed
Do not suggest packages that were installedpull/633/head
commit
f5ea87e855
|
@ -154,7 +154,9 @@ class Installer
|
||||||
|
|
||||||
// output suggestions
|
// output suggestions
|
||||||
foreach ($this->suggestedPackages as $suggestion) {
|
foreach ($this->suggestedPackages as $suggestion) {
|
||||||
$this->io->write($suggestion['source'].' suggests installing '.$suggestion['target'].' ('.$suggestion['reason'].')');
|
if (!$installedRepo->findPackages($suggestion['target'])) {
|
||||||
|
$this->io->write($suggestion['source'].' suggests installing '.$suggestion['target'].' ('.$suggestion['reason'].')');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->dryRun) {
|
if (!$this->dryRun) {
|
||||||
|
|
Loading…
Reference in New Issue