Closed leymannx closed 4 years ago
Can anybody confirm this?
Ah look, this can be overridden by configuring "drupal-scaffold"
like following.
"drupal-scaffold": {
"locations": {
"web-root": "web/"
},
"file-mapping": {
"[web-root]/sites/example.settings.local.php": false
}
},
Should we still go on trying to fix it from this very plugin?
In D8 you do not need this plugin anymore.
Now that drupal-composer/drupal-scaffold mainly got replaced by drupal/core-composer-scaffold preserving paths doesn't work on scaffolding files anymore.
Steps to reproduce
$ composer create-project drupal-composer/drupal-project:8.x-dev some-dir -n
$ cd some-dir
$ composer require drupal-composer/preserve-paths
$ echo '$config[\'environment_indicator.indicator\'][\'bg_color\'] = \'#0066ff\';' >> web/sites/example.settings.local.php
$ composer install -n
Expected result:
Actual result: