Update RequireCommand.php

main
Jáchym Toušek 4 years ago committed by GitHub
parent bbb781b1ed
commit 3bf46a77f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -248,7 +248,7 @@ EOT
;
$status = $install->run();
if ($status !== 0) {
if ($status !== 0 || $input->getOption('dry-run')) {
$this->revertComposerFile(false);
}

Loading…
Cancel
Save