-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to override sync:commands #3697
Comments
It seem that when you override any element of a config array, it only overrides that particular element. It doesn't reset the whole array. I agree that's somewhat intuitive. But it might be a bug with consolidation/config, not BLT: consolidation/config#31 As a workaround, you might be able to set the remaining elements of
Or try ":" or echo or something instead of null if that doesn't work. |
Thanks for the explanation. Unfortunately, my example was a poor one because these need to be BLT commands, not Drush or anything else. My mistake. So, In any case, it does seem like something that should be addressed in consolidation/config#31. I'm not sure what else BLT can do here. |
Ah of course, I forgot that those have to be BLT commands. At any rate, thanks for following up. |
I just had a similar issue with the multisites key, we want to override it per environment, but we don,t want to leave the multisites key empty in the main config file. Some sites in our setup are not ready to launch and we don't want to risk anyone launching a BLT command without the environment argument set to affect those sites... The null key would work for us since our default site is not set up, but that's more a patch to an issue than a real fix. If we could explicitly prevent BLT to scan the sites folder and build his own multisites values that would fix our issue, since we'd block it in the blt.yml file and set those values in each env.blt.yml files... |
Describe the bug
Unable to override
sync:commands
.To Reproduce
composer create-project acquia/blt-project --no-interaction
sync:commands
:blt config:dump
.Expected behavior
I would expect to see
drush foo:bar
as the only step insync:commands
.BLT doctor output
System information
The text was updated successfully, but these errors were encountered: