Procházet zdrojové kódy

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

Jordi Boggiano před 5 roky
rodič
revize
9ee345ed29
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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;