1
0
Fork 0

Ensure we clear the locally configured cache dir instead of default one, fixes #11921

pull/11932/head
Jordi Boggiano 2024-04-15 11:49:04 +02:00
parent 43955765fd
commit 89f057e0df
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 7 additions and 1 deletions

View File

@ -45,7 +45,13 @@ EOT
protected function execute(InputInterface $input, OutputInterface $output): int
{
$composer = $this->tryComposer();
if ($composer !== null) {
$config = $composer->getConfig();
} else {
$config = Factory::createConfig();
}
$io = $this->getIO();
$cachePaths = [