浏览代码

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

Jordi Boggiano 8 年之前
父节点
当前提交
81f65b7a2a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();