mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 06:51:11 +00:00
19bd22ccff
As noted in #40513, when running Composer's `lockFileMaintenance` against a repository with `symfony/flex`[0], we hit a case[1] where Composer needs to be installed first, which then results in a failure when running in `binarySource=docker`, which strips any options from `CommandWithOptions`. This is because we were stripping the options and was inadvertently left in as it fixed Typescript type checking, but subtly broke implementation. This also corrects a test that was a sign that this wasn't quite working for Yarn, but we'd expected that it was mocked, not actually broken. [0]: https://github.com/renovatebot/renovate/blob/795a121b5486138fd65e344ac7feaf370278d791/lib/modules/manager/composer/utils.ts#L15 [1]: https://github.com/renovatebot/renovate/blob/795a121b5486138fd65e344ac7feaf370278d791/lib/modules/manager/composer/artifacts.ts#L170