Skip to content

Commit

Permalink
apply contrib prefix to only modules and themes
Browse files Browse the repository at this point in the history
  • Loading branch information
winmillwill committed Sep 18, 2014
1 parent 38b5415 commit b065590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function mapContrib(InstallationManager $im, RepositoryManager $rm)
}
$name = explode('/', $package->getPrettyName())[1];
$mapRef =& $typeInstallMap[$drupalType][rtrim($installPath, '/')] ;
if ($drupalType === 'core') {
if (in_array($drupalType, ['module', 'theme'])) {
$mapRef = $typePathMap[$drupalType];
}
else {
Expand Down

0 comments on commit b065590

Please sign in to comment.