Skip to content

Commit

Permalink
DX-1723: 'all' is not a valid multisite (#4362)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored Mar 10, 2021
1 parent 424ea38 commit 1053440
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Robo/Config/DefaultConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ public function setSite($site) {
/**
* Gets an array of sites for the Drupal application.
*
* I.e., sites under docroot/sites, not including acsf 'g' pseudo-site and
* 'settings' directory globbed in blt.settings.php.
* Include sites under docroot/sites, excluding 'all' and acsf 'g'
* pseudo-sites and 'settings' directory globbed in blt.settings.php.
*
* @return array
* An array of sites.
Expand All @@ -102,7 +102,7 @@ protected function getSiteDirs() {
->in($sites_dir)
->directories()
->depth('< 1')
->exclude(['g', 'settings'])
->exclude(['g', 'settings', 'all'])
->sortByName();
foreach ($dirs->getIterator() as $dir) {
$sites[] = $dir->getRelativePathname();
Expand Down

0 comments on commit 1053440

Please sign in to comment.