Skip to content

Commit 4c9cd7c

Browse files
author
Ivan Gavryshko
committed
MAGETWO-38917: Process composer generated messages
- moved call to require command to the lib
1 parent 9c32871 commit 4c9cd7c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/MagentoComposerApplication.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ public function runComposerCommand(array $commandParams, $workingDir = null)
135135
public function runUpdateDryRun($packages, $workingDir = null)
136136
{
137137
try {
138+
// run require
139+
$this->composerApp->runComposerCommand(
140+
['command' => 'require', 'packages' => $packages, '--no-update' => true],
141+
$workingDir
142+
);
143+
138144
$output = $this->runComposerCommand(
139145
['command' => 'update', '--dry-run' => true],
140146
$workingDir

0 commit comments

Comments
 (0)