boats icon indicating copy to clipboard operation
boats copied to clipboard

Need a bespoke check on array items to ensure no dash

Open regexj opened this issue 1 year ago • 0 comments

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 avatar Apr 28 '23 11:04 regexj