1
0
Fork 0

Fix dry-run output

pull/727/head
Jordi Boggiano 2012-05-23 16:04:28 +02:00
parent 4afca78daa
commit 79826ee5c9
1 changed files with 4 additions and 4 deletions

View File

@ -353,10 +353,6 @@ class Installer
}
foreach ($operations as $operation) {
if ($this->verbose) {
$this->io->write((string) $operation);
}
// collect suggestions
if ('install' === $operation->getJobType()) {
foreach ($operation->getPackage()->getSuggests() as $target => $reason) {
@ -406,6 +402,10 @@ class Installer
}
}
if ($this->verbose) {
$this->io->write((string) $operation);
}
$this->installationManager->execute($localRepo, $operation);
$event = 'Composer\Script\ScriptEvents::POST_PACKAGE_'.strtoupper($operation->getJobType());