mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-01 10:09:50 +00:00
dad0b03b00
Lock file maintenance deletes package-lock.json and regenerates it from scratch, and a single npm install pass can produce a lock file that is out of sync with package.json, so npm ci rejects the branch. Always run the install command a second time for lock file maintenance, mirroring the existing double run for remediations, instead of relying on users opting in to the npmInstallTwice postUpdateOption. Because branch creation and rebase share the same lock file generation path, this covers both.