1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-08 16:17:37 +00:00

Fix exclude-from-classmap being ignored when cwd has the wrong case on case insensitive filesystems

This commit is contained in:
Jordi Boggiano 2017-07-06 09:53:33 +02:00
parent 47bc2fa51a
commit 81f65b7a2a

View file

@ -75,7 +75,7 @@ class ClassMapGenerator
$map = array();
$filesystem = new Filesystem();
$cwd = getcwd();
$cwd = realpath(getcwd());
foreach ($path as $file) {
$filePath = $file->getPathname();