From 62923c0756d041417602560d33379121eb90c501 Mon Sep 17 00:00:00 2001 From: Clarentina Rebello Date: Thu, 25 Jan 2024 13:19:39 -0600 Subject: [PATCH] Updated ah_other logic to prevent cofig split from being set on local env. --- src/Robo/Common/EnvironmentDetector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Robo/Common/EnvironmentDetector.php b/src/Robo/Common/EnvironmentDetector.php index aa0e9b691..aa4ed2da4 100644 --- a/src/Robo/Common/EnvironmentDetector.php +++ b/src/Robo/Common/EnvironmentDetector.php @@ -316,7 +316,7 @@ public static function getEnvironments(): array { 'prod' => self::isProdEnv(), 'ci' => self::isCiEnv(), 'ode' => self::isAhOdeEnv(), - 'ah_other' => self::isAhEnv() && !self::isDevEnv() && !self::isStageEnv() && !self::isAhOdeEnv() && !self::isProdEnv(), + 'ah_other' => self::isAhEnv() && !self::isLocalEnv() && !self::isDevEnv() && !self::isStageEnv() && !self::isAhOdeEnv() && !self::isProdEnv(), ]; }