Update RequireCommand.php
parent
bbb781b1ed
commit
3bf46a77f9
|
@ -248,7 +248,7 @@ EOT
|
||||||
;
|
;
|
||||||
|
|
||||||
$status = $install->run();
|
$status = $install->run();
|
||||||
if ($status !== 0) {
|
if ($status !== 0 || $input->getOption('dry-run')) {
|
||||||
$this->revertComposerFile(false);
|
$this->revertComposerFile(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue