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

template: Make validation errors from failed pattern matches shorter #42

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

mstokes-f5
Copy link
Contributor

The pattern that was failed to match has been moved from "message" to "details". The regex pattern can get very long, so to keep messages short, it will now always be in "details".

The pattern that was failed to match has been moved from "message" to
"details". The regex pattern can get very long, so to keep messages
short, it will now always be in "details".
lib/template.js Outdated Show resolved Hide resolved
The list of allowed values has been moved from "messages" to "details".
@mstokes-f5 mstokes-f5 merged commit f1372e6 into master Oct 3, 2023
6 checks passed
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.

2 participants