Ensure we clear the locally configured cache dir instead of default one, fixes #11921
parent
43955765fd
commit
89f057e0df
|
@ -45,7 +45,13 @@ EOT
|
|||
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
$config = Factory::createConfig();
|
||||
$composer = $this->tryComposer();
|
||||
if ($composer !== null) {
|
||||
$config = $composer->getConfig();
|
||||
} else {
|
||||
$config = Factory::createConfig();
|
||||
}
|
||||
|
||||
$io = $this->getIO();
|
||||
|
||||
$cachePaths = [
|
||||
|
|
Loading…
Reference in New Issue