boats
boats copied to clipboard
Need a bespoke check on array items to ensure no dash
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.
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