attach IO to DownloadManager in "package" command
parent
8e8e9d3719
commit
d17935acd2
|
@ -68,7 +68,8 @@ EOT
|
||||||
{
|
{
|
||||||
$config = Factory::createConfig();
|
$config = Factory::createConfig();
|
||||||
$factory = new Factory;
|
$factory = new Factory;
|
||||||
$archiveManager = $factory->createArchiveManager($config);
|
$downloadManager = $factory->createDownloadManager($this->getIO(), $config);
|
||||||
|
$archiveManager = $factory->createArchiveManager($config, $downloadManager);
|
||||||
|
|
||||||
if ($packageName) {
|
if ($packageName) {
|
||||||
$package = $this->selectPackage($io, $packageName, $version);
|
$package = $this->selectPackage($io, $packageName, $version);
|
||||||
|
|
Loading…
Reference in New Issue