symfony / flex

Composer plugin for Symfony
MIT License
4.15k stars 181 forks source link

Updating recipes doesn't respect paths #980

Open mmarton opened 1 year ago

mmarton commented 1 year ago

Hi!

I have some custom paths in my composer.json:

"extra": {
        "symfony": {
            "allow-contrib": true,
        },
        "bin-dir": "symfony/bin",
        "config-dir": "symfony/config",
        "src-dir": "symfony/src",
        "var-dir": "var",
        "public-dir": "www"
    },

after updating a recipe, my diff looks like this:

image

it dropped the symfony base folder in the files section

shyim commented 1 year ago

Can you try this fix? https://github.com/symfony/flex/pull/950 🤔