fix dir check

This commit is contained in:
Dennis Eichhorn 2020-10-08 15:37:11 +02:00
parent 06070dcac2
commit e9426bf18a

View File

@ -156,7 +156,7 @@ final class PackageManager
$state = \sodium_crypto_generichash_init();
foreach ($files as $file) {
if ($file === 'package.cert' || \is_file($this->extractPath . '/' . $file)) {
if ($file === 'package.cert' || \is_dir($this->extractPath . '/' . $file)) {
continue;
}