-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yarn classic: Drop offline mirror collision exception raise
Currently, we check for possible collision in the offline mirror cache when two different tarballs have the identical name. In that case, the second tarball will override the first one, which might lead to unexpected behavior. Note: This is only relevant for registry, url and git packages The functionality works as expected until the user uses duplicate identical dependency, one for npm and one for yarn, that happend to be present in the yarn.lock file. This patch replaces the exception raise for log warning to unblock users. Further investigation should how to deal with this use case should be done later. Signed-off-by: Michal Šoltis <[email protected]>
- Loading branch information
1 parent
03b433f
commit 7e3fd69
Showing
2 changed files
with
25 additions
and
10 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
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