diff --git a/src/Mapper.php b/src/Mapper.php index 820d708..08f0112 100644 --- a/src/Mapper.php +++ b/src/Mapper.php @@ -56,6 +56,11 @@ public function mapContrib(InstallationManager $im, RepositoryManager $rm) ->getCanonicalPackages(); foreach ($packages as $package) { if ($drupalType = $this->getDrupalType($package)) { + + if (!isset($typePathMap[$drupalType])) { + continue; + } + $installPath = $im->getInstaller($package->getType()) ->getInstallPath($package); if (strpos($installPath, $root = $this->getRoot()) !== false) {