Fix regression when using -vvv

main
Jordi Boggiano 11 years ago
parent 44e45ed2d5
commit 9cbfe31983

@ -97,7 +97,9 @@ class FileDownloader implements DownloaderInterface
} elseif (count($urls)) { } elseif (count($urls)) {
$this->io->write(''); $this->io->write('');
$this->io->write(' Failed, trying the next URL'); $this->io->write(' Failed, trying the next URL');
} else { }
if (!count($urls)) {
throw $e; throw $e;
} }
} }

@ -67,7 +67,8 @@ abstract class VcsDownloader implements DownloaderInterface, ChangeReportInterfa
$this->io->write('Failed: ['.get_class($e).'] '.$e->getMessage()); $this->io->write('Failed: ['.get_class($e).'] '.$e->getMessage());
} elseif (count($urls)) { } elseif (count($urls)) {
$this->io->write(' Failed, trying the next URL'); $this->io->write(' Failed, trying the next URL');
} else { }
if (!count($urls)) {
throw $e; throw $e;
} }
} }

Loading…
Cancel
Save