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 8030089 commit 2fde8a5Copy full SHA for 2fde8a5
commands/data/check-requirements.php
@@ -935,7 +935,7 @@ private function getUploadMaxFilesize()
935
$requirements = $symfonyRequirements->getRequirements();
936
937
// specific directory to check?
938
-$dir = isset($args[1]) ? $args[1] : (file_exists(getcwd().'/composer.json') ? getcwd().'/composer.json' : null);
+$dir = isset($args[1]) ? $args[1] : (file_exists(getcwd().'/composer.json') ? getcwd() : null);
939
if (null !== $dir) {
940
$projectRequirements = new ProjectRequirements($dir);
941
$requirements = array_merge($requirements, $projectRequirements->getRequirements());
0 commit comments