You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.
Single-line comments without spaces at // e.g //Some comment here breaks app at getting element from array by index but doesn't check thats matches returns array and length of array >= 3
Some details:
sol-comments-parser/src/index.js:140
outputFunctions.set(matched[2], proceedParse(matched[1]));
^
TypeError: Cannot read property '2' of null
at rawComments.forEach (sol-comments-parser/src/index.js:140:36)
Single-line comments without spaces at
//
e.g//Some comment here
breaks app at getting element from array by index but doesn't check thats matches returns array and length of array >= 3Some details:
Maybe add type-checking? e.g
Array.isArray(matched) && matched.length >= 3
The text was updated successfully, but these errors were encountered: