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.
1 parent 909a2d7 commit 0bd578aCopy full SHA for 0bd578a
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