1
0
Fork 0

Fix output of invalid zip files when download is retried

pull/2172/merge
Jordi Boggiano 2013-08-17 00:41:51 +02:00
parent 1a50f74c4c
commit 78a8a5ca0b
1 changed files with 1 additions and 3 deletions

View File

@ -71,9 +71,7 @@ abstract class ArchiveDownloader extends FileDownloader
// retry downloading if we have an invalid zip file
if ($retries && $e instanceof \UnexpectedValueException && $e->getCode() === \ZipArchive::ER_NOZIP) {
if ($this->io->isVerbose()) {
$this->io->write(' Invalid zip file, retrying...');
}
usleep(500000);
continue;
}