Skip to content

Commit 46fac17

Browse files
author
Ivan Gavryshko
committed
MAGETWO-38838: Create composer management library and reuse it in both updater and setup wizard
- added composer reset to run command method
1 parent 60108ff commit 46fac17

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/code/Magento/Composer/MagentoComposerApplication.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ public function getComposer()
104104
*/
105105
public function runComposerCommand(array $commandParams)
106106
{
107+
$this->consoleApplication->resetComposer();
108+
107109
if (!$this->configIsSet) {
108110
throw new \Exception('Please call setConfig method to configure composer');
109111
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"require": {
1111
"php": "~5.5.0|~5.6.0",
12-
"composer/composer": "1.0.*",
12+
"composer/composer": "1.0.0-alpha10",
1313
"symfony/console": "~2.3 <2.7"
1414
},
1515
"require-dev": {

0 commit comments

Comments
 (0)