From ccaf496c9d3d82edeee2f8771f94b008eb658253 Mon Sep 17 00:00:00 2001 From: Dan Chadwick Date: Tue, 22 Aug 2023 17:43:45 -0400 Subject: [PATCH] BLT-4692: Add logging message if cm strategy is none. (#4693) Co-authored-by: Dane Powell --- src/Robo/Commands/Drupal/ConfigCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Robo/Commands/Drupal/ConfigCommand.php b/src/Robo/Commands/Drupal/ConfigCommand.php index 10650bd95..28b5c83e9 100644 --- a/src/Robo/Commands/Drupal/ConfigCommand.php +++ b/src/Robo/Commands/Drupal/ConfigCommand.php @@ -56,6 +56,7 @@ public function import() { $strategy = $this->getConfigValue('cm.strategy'); if ($strategy === 'none') { + $this->logger->warning("CM strategy set to none in blt.yml. BLT will NOT import configuration."); // Still clear caches to regenerate frontend assets and such. return $this->taskDrush()->drush("cache-rebuild")->run(); }