1
0
Fork 0

Clean ups

pull/8752/head
Jordi Boggiano 2020-04-08 15:55:51 +02:00
parent 8930f1b824
commit ee09b75be3
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 2 deletions

View File

@ -283,7 +283,6 @@ EOT
->setIgnorePlatformRequirements($input->getOption('ignore-platform-reqs'))
->setPreferStable($input->getOption('prefer-stable'))
->setPreferLowest($input->getOption('prefer-lowest'))
->setDryRun($input->getOption('dry-run'))
;
// if no lock is present, or the file is brand new, we do not do a
@ -293,7 +292,7 @@ EOT
}
$status = $install->run();
if ($status !== 0 || $input->getOption('dry-run')) {
if ($status !== 0) {
$this->revertComposerFile(false);
}