Преглед на файлове

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

Renan de Lima преди 11 години
родител
ревизия
e06f0f1233
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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