Skip to content
Snippets Groups Projects
Commit 27cbcbf2 authored by Viktor Paladiychuk's avatar Viktor Paladiychuk
Browse files

Merge remote-tracking branch 'origin/develop' into MAGETWO-54836

parents 2850700f 609be9dc
Branches
No related merge requests found
......@@ -40,9 +40,8 @@ class ComposerFactory
*/
public function create()
{
if (!getenv('COMPOSER_HOME')) {
putenv('COMPOSER_HOME=' . $this->directoryList->getPath(DirectoryList::COMPOSER_HOME));
}
putenv('COMPOSER_HOME=' . $this->directoryList->getPath(DirectoryList::COMPOSER_HOME));
return \Composer\Factory::create(
new BufferIO(),
$this->composerJsonFinder->findComposerJson()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment