Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): force registryFolders to be unique #5985

Merged
merged 1 commit into from
Jun 14, 2018

Conversation

hulkish
Copy link
Contributor

@hulkish hulkish commented Jun 13, 2018

Summary

It was possible for duplicate registryFolders to be inserted into the array. In code that looped over this array, it could cause additional processing.

fixes #5984

Test plan

Put a breakpoint on this line and let the breakpoint hit a few times. It will eventually add duplicates. This fixes that.

@rally25rs rally25rs changed the title fix: force registryFolders to be unique fix(cli): force registryFolders to be unique Jun 14, 2018
@rally25rs rally25rs merged commit 7f1a3f4 into yarnpkg:master Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: PackageRequest should force unique values for registryFolders
2 participants