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 contain() with duplicates and only #276

merged 1 commit into from Nov 6, 2018


Copy link

kanongil commented Nov 6, 2018

The only: true option concerns unlisted values. It doesn't add any meaning to multiple listings of the same value.

I have added some extra meaning when combined with once: true, where each entry is consumed once it has been found.

@kanongil kanongil added the bug label Nov 6, 2018
@hueniverse hueniverse self-assigned this Nov 6, 2018
@hueniverse hueniverse added this to the 6.0.2 milestone Nov 6, 2018
@hueniverse hueniverse merged commit 4248731 into hapijs:master Nov 6, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.