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

config extra command does not work with --json when a key is a quoted numeric #11945

Closed
joachim-n opened this issue Apr 22, 2024 · 0 comments
Closed
Labels
Milestone

Comments

@joachim-n
Copy link

When I run this command:

composer config extra.patches.drupal/typogrify --merge --json '{"3398815":"patches/typogrify.3398815.patch"}'

I get this added to composer.json

    "extra": {
        "patches": {
            "drupal/typogrify": ["patches/typogrify.3398815.patch"]
        },

The "3398815" has been ignored.

@Seldaek Seldaek added the Bug label Apr 29, 2024
@Seldaek Seldaek added this to the 2.7 milestone Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants