Fix warning tag name, fixes #7494
parent
d73aef5c8a
commit
9bc578e24a
|
@ -150,7 +150,7 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter
|
||||||
$this->io->writeError(" - Removing junction for <info>" . $package->getName() . "</info> (<comment>" . $package->getFullPrettyVersion() . "</comment>)");
|
$this->io->writeError(" - Removing junction for <info>" . $package->getName() . "</info> (<comment>" . $package->getFullPrettyVersion() . "</comment>)");
|
||||||
}
|
}
|
||||||
if (!$this->filesystem->removeJunction($path)) {
|
if (!$this->filesystem->removeJunction($path)) {
|
||||||
$this->io->writeError(" <warn>Could not remove junction at " . $path . " - is another process locking it?</warn>");
|
$this->io->writeError(" <warning>Could not remove junction at " . $path . " - is another process locking it?</warning>");
|
||||||
throw new \RuntimeException('Could not reliably remove junction for package ' . $package->getName());
|
throw new \RuntimeException('Could not reliably remove junction for package ' . $package->getName());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -68,8 +68,8 @@ class ZipDownloader extends ArchiveDownloader
|
||||||
self::$isWindows = Platform::isWindows();
|
self::$isWindows = Platform::isWindows();
|
||||||
|
|
||||||
if (!self::$isWindows && !self::$hasSystemUnzip) {
|
if (!self::$isWindows && !self::$hasSystemUnzip) {
|
||||||
$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("<warning>As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.</warning>");
|
||||||
$this->io->writeError("<warn>This may cause invalid reports of corrupted archives. Installing 'unzip' may remediate them.</warn>");
|
$this->io->writeError("<warning>This may cause invalid reports of corrupted archives. Installing 'unzip' may remediate them.</warning>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue