acquia / blt

Acquia's toolset for automating Drupal 8 and 9 development, testing, and deployment.
https://docs.acquia.com/blt/
GNU General Public License v2.0
442 stars 394 forks source link

Updated ah_other logic to prevent config split from being set on local. #4730

Open mwaarebelloc opened 8 months ago

mwaarebelloc commented 8 months ago

Motivation

Fixes #NNN

When using lando for local development, an environment variable is set (AH_SITE_ENVIRONMENT = LANDO) denoting the usage of lando. This causes isAhEnv to return true. For most cases, this works just fine but the config split for ah_other gets enabled locally.

Proposed changes

Include isLocalEnv() check for ah_other config split logic.

Alternatives considered

Testing steps