Fix type error, fixes #11052
parent
21045b942e
commit
564f8bec24
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue