Skip to content
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

Remove previous config YAML files when exporting configuration. #3287

Closed
g3r4 opened this issue Apr 28, 2017 · 0 comments
Closed

Remove previous config YAML files when exporting configuration. #3287

g3r4 opened this issue Apr 28, 2017 · 0 comments
Assignees

Comments

@g3r4
Copy link
Contributor

g3r4 commented Apr 28, 2017

Remove previous config YAML files when exporting configuration.

[ console ] When you export files from a site using config:export the export command only adds files, it never removes them.

Problem/Motivation

I noticed that whenever you remove a field or something that should remove a YAML file, it never gets removed when you export this config using Drupal console, I think that the recommended thing to do here is to remove the files before exporting and recreating all the files in the configuration.

How to reproduce

Remove something that should remove a config file, export config, and the YAML file will remain there.

Details to include:

  • Any Drupal version
  • Any Console version

Solution

Remove the files before exporting and recreating all the files in the configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants