Skip to content

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

@regexj

Description

@regexj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions