Skip to content

Commit 186a3c5

Browse files
author
Andrey Konosov
committed
MAGETWO-43241: Simplified edition checks in setup script
1 parent 20245f4 commit 186a3c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Composer/ComposerInformation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private function isMagentoRoot()
252252
{
253253
$rootPackage = $this->composer->getPackage();
254254

255-
return preg_match('/magento\/magento2.e/', $rootPackage->getName());
255+
return preg_match('/magento\/magento2...?/', $rootPackage->getName());
256256
}
257257

258258
/**

0 commit comments

Comments
 (0)