Follow-up issue for #2376785: Avoid using moduleHandler for generating the composer.json file.

I do not think the optional module parameter is necessary for the rebuild json drush command anymore because the issue above scans all module directories regardless of installation status.

There is also reference to that modules parameter in ComposerPackages::writeComposerJsonFile() which will call getComposerJsonFiles().

Comments

mradcliffe’s picture

Title: Fix composer rebuild json use of optional modules parameter » Fix composer rebuild json to remove use of optional modules parameter

Fixed title, I think.

  • bojanz committed 83dc889 on 8.x-1.x
    Issue #2398037: Fix composer rebuild json to remove use of optional...
bojanz’s picture

Status: Active » Fixed

Removed the mentioned code, thanks.

I'm working on a refactoring that should be more solid.

Status: Fixed » Closed (fixed)

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