Problem/Motivation

When running... drush updb

You get warning message saying:
Invalid json in modules/contrib/views_display_switch/composer.json

Steps to reproduce

Simply require using composer composer require 'drupal/views_display_switch:^1.1'
then install module as usual. Upon running drush updb you get warning message on drush screen.

Proposed resolution

Around line 9 of composer.json the "source" line has a comma at the end that should not be there.

Not an error or a big problem but maybe fix warning by next release?

Thank you.

CommentFileSizeAuthor
#3 3195913-3.patch449 bytesmohit.bansal623
Command icon 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

jsidigital created an issue. See original summary.

luksak’s picture

@jsidigital thank you for reporting the issue! Could you send me a merge request?

mohit.bansal623’s picture

Status: Active » Needs review
StatusFileSize
new449 bytes

Extra comma removed.

rjbautista made their first commit to this issue’s fork.

luksak’s picture

Status: Needs review » Fixed

Thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.