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 Joi issue #2746 #2813

Merged
merged 2 commits into from
Sep 17, 2022
Merged

Fix Joi issue #2746 #2813

merged 2 commits into from
Sep 17, 2022

Conversation

martin-petersen
Copy link
Contributor

  • internals.assert was failing in detect empty strings as a message setting this same empty string as options parameter

@martin-petersen martin-petersen changed the title Fix Joi issue 2746 Fix Joi issue #2746 Aug 3, 2022
@martin-petersen
Copy link
Contributor Author

martin-petersen commented Aug 3, 2022

This PR fix issue #2746

lib/index.js Outdated Show resolved Hide resolved
@martin-petersen martin-petersen force-pushed the joi_issue_2746 branch 2 times, most recently from a10f080 to 0e59b3b Compare August 8, 2022 20:02
@Marsup
Copy link
Collaborator

Marsup commented Aug 20, 2022

The fix looks good, fix the linting issues and we can merge.

   - internals.assert was failing in detect empty strings as a message setting this same empty string as options parameter
test/index.js Outdated Show resolved Hide resolved
test/index.js Outdated Show resolved Hide resolved
@Marsup Marsup self-assigned this Sep 17, 2022
@Marsup Marsup added this to the 17.6.1 milestone Sep 17, 2022
@Marsup Marsup merged commit e969a06 into hapijs:master Sep 17, 2022
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.

3 participants