Skip to content

Commit

Permalink
Exlucde package theme from custom repos.
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaskii committed Oct 17, 2018
1 parent 52f0dd7 commit 334ffcb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Composer/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,11 @@ protected function isLibrary(array $package) {
* True if the package is a GovCMS theme, otherwise FALSE.
*/
protected function isGovCMSTheme(array $package) {
// Exlucde package theme from custom repos.
if ($package['name'] == 'govcms-custom/govcms8_uikit' || $package['name'] == 'govcms-custom/govcms8_uikit_starter') {
return FALSE;
}

$package_types = [
'drupal-theme',
];
Expand Down

0 comments on commit 334ffcb

Please sign in to comment.