1
0
Fork 0

Fix type error, fixes #11052

pull/11063/head
Jordi Boggiano 2022-09-14 13:23:17 +02:00
parent 21045b942e
commit 564f8bec24
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 4 additions and 1 deletions

View File

@ -93,7 +93,10 @@ abstract class ArchiveDownloader extends FileDownloader
$filesystem->removeDirectory($path);
}
$this->removeCleanupPath($package, $temporaryDir);
$this->removeCleanupPath($package, realpath($path));
$realpath = realpath($path);
if ($realpath !== false) {
$this->removeCleanupPath($package, $realpath);
}
};
try {