Sfoglia il codice sorgente

Fix ref to findShortestPath

Jordi Boggiano 9 anni fa
parent
commit
8e99cec3e7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);