-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(yarn): incorrect logic around caching of locked versions (#7330)
The issue is that the compatibility was only being set for the first `package.json` that was detected, due to how this if/else statement was constructed. https://github.com/renovatebot/renovate/blob/1b99f4f0f7011f48b90250540c2b60cf2b1c9d20/lib/manager/npm/extract/locked-versions.ts#L16-L30 `isYarn1`, and the following logic, was only being executed if the lockfile was _not_ found in the cache.
- Loading branch information
1 parent
1b99f4f
commit 0f23891
Showing
1 changed file
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters