-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): keep duplicate and orphan remappings (#226)
* fix: duplicate and orphan remappings were deleted The remappings generation function was not keeping duplicate remappings for a given dependency, and was removing items which could not be matched to an existing dependency. This has been fixed by keeping all existing remappings matching a dependency, and adding back those that do not match one. * refactor: use `retain` * test: modify test according to new behavior
- Loading branch information
Showing
1 changed file
with
64 additions
and
20 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