Hi, I'm testing the new -dev relase and the composer file contains an extra comma which throws the following error executing "composer drupal-update":
[UnexpectedValueException]
Could not decode JSON file composer.json Error message: unexpected character
The following patch simply remove the extra comma.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | broken_composer_json-2776731-3.patch | 336 bytes | rjarteta |
| composer_remove_comma.patch | 468 bytes | finex |
Comments
Comment #2
finex commentedComment #3
rjarteta commentedThe new version of composer.json is also broken, attaching patch.
Comment #4
rjarteta commentedSorry @FiNex, the patch didn't apply via drush make
Comment #6
jmuzz commentedThanks all.
@panche is right the patches should be made with the module directory as the base not the drupal install directory. It helps to follow the file naming conventions.
Issues should be set to "Needs Review" status when a patch is submitted.