diff --git a/src/Mapper.php b/src/Mapper.php index 5623fa6..bddb4d6 100644 --- a/src/Mapper.php +++ b/src/Mapper.php @@ -128,7 +128,7 @@ public function mapCustom() $root = $this->getRoot(); $fs = $this->getFS(); $paths = []; - if ($name = $this->getName()) { + if ($name == $this->getName()) { foreach ($this->getCustomFilesFinder() as $file) { $install = rtrim($fs->makePathRelative($file->getRealpath(), $root), '/'); $paths["custom"][$install] = sprintf(