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

Need a bespoke check on array items to ensure no dash #80

Open
regexj opened this issue Apr 28, 2023 · 0 comments
Open

Need a bespoke check on array items to ensure no dash #80

regexj opened this issue Apr 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@regexj
Copy link

regexj commented Apr 28, 2023

Describe the bug
Following screenshot shows an incorrectly formatted array items. The preceding dash on line 8 should not be there, but it's easy to put it in by mistake. This isn't caught in boats and gets put into the overall yml file.
image

Additional context
When you make this mistake and then use generate-it, generate-it throws an error like this:
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

@regexj regexj added the bug Something isn't working label Apr 28, 2023
@regexj regexj changed the title Need a bespoke check on array type to ensure no dash Need a bespoke check on array items to ensure no dash Apr 28, 2023
@j-d-carmichael j-d-carmichael added enhancement New feature or request and removed bug Something isn't working labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants