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
|
||||
if ($cache && (!$checksum || $checksum === $cache->sha1($cacheKey)) && $cache->copyTo($cacheKey, $fileName)) {
|
||||
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);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue