From 91d9e91c0af9ff95ee9affd51b47c8d547be95ea Mon Sep 17 00:00:00 2001 From: Ben Davies Date: Tue, 20 Aug 2013 15:24:21 +0100 Subject: [PATCH] load IO configuration --- src/Composer/Factory.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Composer/Factory.php b/src/Composer/Factory.php index b63ad13f1..82c5084c2 100644 --- a/src/Composer/Factory.php +++ b/src/Composer/Factory.php @@ -342,7 +342,9 @@ class Factory public function createArchiveManager(Config $config, Downloader\DownloadManager $dm = null) { if (null === $dm) { - $dm = $this->createDownloadManager(new IO\NullIO(), $config); + $io = new IO\NullIO(); + $io->loadConfiguration($config); + $dm = $this->createDownloadManager($io, $config); } $am = new Archiver\ArchiveManager($dm);