瀏覽代碼

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);