Pārlūkot izejas kodu

Make sure the directory exists and will not block installation later when downloading

Jordi Boggiano 5 gadi atpakaļ
vecāks
revīzija
9ee345ed29
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/Composer/Downloader/FileDownloader.php

+ 1 - 0
src/Composer/Downloader/FileDownloader.php

@@ -101,6 +101,7 @@ class FileDownloader implements DownloaderInterface, ChangeReportInterface
             );
         }
 
+        $this->filesystem->ensureDirectoryExists($path);
         $fileName = $this->getFileName($package, $path);
 
         $io = $this->io;