Skip to content

Commit 12acbe4

Browse files
committed
MAGETWO-37710: Setup wizard fails in readiness check when magento is deployed by composer create-project
- Add trailing slash to root directory when parsing vendorDir
1 parent 4546cbb commit 12acbe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/src/Magento/Setup/Model/ComposerInformation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct(
4343
$vendorPath = $filesystem->getDirectoryRead(DirectoryList::CONFIG)->getAbsolutePath('vendor_path.php');
4444
$vendorDir = require "{$vendorPath}";
4545
$composerJson = $filesystem->getDirectoryRead(DirectoryList::ROOT)->getAbsolutePath()
46-
. "{$vendorDir}/../composer.json";
46+
. "/{$vendorDir}/../composer.json";
4747

4848
$composerJsonRealPath = realpath($composerJson);
4949
if ($composerJsonRealPath === false) {

0 commit comments

Comments
 (0)