Avoid outputting "Loading ... from cache" in non-verbose installs
parent
006985a0ea
commit
99eb86c506
|
@ -127,7 +127,7 @@ class FileDownloader implements DownloaderInterface, ChangeReportInterface
|
||||||
// use from cache if it is present and has a valid checksum or we have no checksum to check against
|
// use from cache if it is present and has a valid checksum or we have no checksum to check against
|
||||||
if ($cache && (!$checksum || $checksum === $cache->sha1($cacheKey)) && $cache->copyTo($cacheKey, $fileName)) {
|
if ($cache && (!$checksum || $checksum === $cache->sha1($cacheKey)) && $cache->copyTo($cacheKey, $fileName)) {
|
||||||
if ($output) {
|
if ($output) {
|
||||||
$io->writeError(" - Loading <info>" . $package->getName() . "</info> (<comment>" . $package->getFullPrettyVersion() . "</comment>) from cache");
|
$io->writeError(" - Loading <info>" . $package->getName() . "</info> (<comment>" . $package->getFullPrettyVersion() . "</comment>) from cache", true, IOInterface::VERY_VERBOSE);
|
||||||
}
|
}
|
||||||
$result = \React\Promise\resolve($fileName);
|
$result = \React\Promise\resolve($fileName);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue