Accidentally indented.
parent
379d769132
commit
d60e0c1842
|
@ -99,7 +99,7 @@ class ZipDownloader extends ArchiveDownloader
|
||||||
|
|
||||||
if (true !== $zipArchive->extractTo($path)) {
|
if (true !== $zipArchive->extractTo($path)) {
|
||||||
$this->io->writeError("<warn>As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.</warn>");
|
$this->io->writeError("<warn>As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.</warn>");
|
||||||
$this->io->writeError("<warn> This may cause invalid reports of corrupted archives. Installing 'unzip' may remediate them.</warn>");
|
$this->io->writeError("<warn>This may cause invalid reports of corrupted archives. Installing 'unzip' may remediate them.</warn>");
|
||||||
|
|
||||||
throw new \RuntimeException("There was an error extracting the ZIP file, it is either corrupted or using an invalid format");
|
throw new \RuntimeException("There was an error extracting the ZIP file, it is either corrupted or using an invalid format");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue