Эх сурвалжийг харах

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

Jordi Boggiano 5 жил өмнө
parent
commit
9ee345ed29

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