Problem/Motivation
If there are extra spaces in the empty array, which is apparently common, the lines aren't removed. Additionally, I added a check to remove the file if we can assume that this wasn't customized. It's an assumption, but sites can always restore if it
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork bs_base-3609479
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
berdirComment #4
pivica commentedChecked, looks good to me, @berdir just two small cosmetics things, not that important.
Do you want this merged or you want to test it a bit more?
Comment #5
berdir> Do you want this merged or you want to test it a bit more?
I rolled it out to a few projects, seems to be working well. deleted it in most cases, one example where it had an extra include it did not as expected. It's still easy to miss the warning message, we could make it a confirmation message that have to confirm?
Comment #6
pivica commented> we could make it a confirmation message that have to confirm?
yeah that makes sense i think