Skip to content

Commit

Permalink
BLT-4692: Add logging message if cm strategy is none. (#4693)
Browse files Browse the repository at this point in the history
Co-authored-by: Dane Powell <git@danepowell.com>
  • Loading branch information
dan612 and danepowell committed Aug 22, 2023
1 parent da939bf commit ccaf496
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Robo/Commands/Drupal/ConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit ccaf496

Please sign in to comment.