Explorar o código

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

Jordi Boggiano %!s(int64=8) %!d(string=hai) anos
pai
achega
81f65b7a2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Autoload/ClassMapGenerator.php

+ 1 - 1
src/Composer/Autoload/ClassMapGenerator.php

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