Explorar o código

Fix ref to findShortestPath

Jordi Boggiano %!s(int64=9) %!d(string=hai) anos
pai
achega
8e99cec3e7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);