Skip to content

Commit

Permalink
ACMS-1890: Adding temp commit to test drs config override.
Browse files Browse the repository at this point in the history
  • Loading branch information
apathak18 committed Jan 23, 2024
1 parent 08d0764 commit 2357dfb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"composer-plugin-api": "^2.0",
"composer-runtime-api": "^2.0",
"acquia/drupal-environment-detector": "^1.5.3",
"acquia/drupal-recommended-settings": "dev-develop",
"acquia/drupal-recommended-settings": "dev-ACMS-3508",
"consolidation/comments": "^1.0",
"consolidation/config": "^2.0.0",
"consolidation/robo": "^4",
Expand Down
15 changes: 7 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions settings/config.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* settings.php, and we will not overwrite it.
*/
// phpcs:ignore
$drs_override_config_directories = !$drs_override_config_directories ?: TRUE;
$drs_override_site_studio_sync_directories = !$drs_override_site_studio_sync_directories ?: TRUE;
$drs_override_config_directories = !isset($drs_override_config_directories) ? TRUE : FALSE;
$drs_override_site_studio_sync_directories = !isset($drs_override_site_studio_sync_directories) ? TRUE : FALSE;

/**
* Site path.
Expand Down
2 changes: 1 addition & 1 deletion src/Robo/Commands/Blt/MigrateToDrsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private function processSettingsFile(string $site): void {
"$sitePath/settings.php",
"$sitePath/settings/local.settings.php",
"$sitePath/settings/default.local.settings.php",
]
];
$filesystem = new Filesystem();
foreach ($relativePaths as $relativePath) {
if ($filesystem->exists($relativePath)) {
Expand Down

0 comments on commit 2357dfb

Please sign in to comment.