Sfoglia il codice sorgente

removes hardcoded "prefer-source" in ArchiveManage when calling
DownloadManager

Renan de Lima 11 anni fa
parent
commit
e06f0f1233
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Composer/Package/Archiver/ArchiveManager.php

+ 1 - 1
src/Composer/Package/Archiver/ArchiveManager.php

@@ -138,7 +138,7 @@ class ArchiveManager
             $filesystem->ensureDirectoryExists($sourcePath);
 
             // Download sources
-            $this->downloadManager->download($package, $sourcePath, true);
+            $this->downloadManager->download($package, $sourcePath);
         }
 
         // Create the archive