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 73b9c28 + 609be9d commit a69c256Copy full SHA for a69c256
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