We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 909a2d7 + 0bd578a commit c7f35c2Copy full SHA for c7f35c2
lib/internal/Magento/Framework/Composer/ComposerFactory.php
@@ -40,9 +40,8 @@ public function __construct(
40
*/
41
public function create()
42
{
43
- if (!getenv('COMPOSER_HOME')) {
44
- putenv('COMPOSER_HOME=' . $this->directoryList->getPath(DirectoryList::COMPOSER_HOME));
45
- }
+ putenv('COMPOSER_HOME=' . $this->directoryList->getPath(DirectoryList::COMPOSER_HOME));
+
46
return \Composer\Factory::create(
47
new BufferIO(),
48
$this->composerJsonFinder->findComposerJson()
0 commit comments