소스 검색

Fix ref to findShortestPath

Jordi Boggiano 9 년 전
부모
커밋
8e99cec3e7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Util/Filesystem.php

+ 1 - 1
src/Composer/Util/Filesystem.php

@@ -516,7 +516,7 @@ class Filesystem
     {
         $cwd = getcwd();
 
-        $relativePath = $this->filesystem->findShortestPath($link, $target);
+        $relativePath = $this->findShortestPath($link, $target);
         chdir(dirname($link));
         $result = @symlink($relativePath, $link);