noqcks / generated

Generated will detect files that have been generated by computers
MIT License
7 stars 8 forks source link

StartsWith is not a function #9

Closed noqcks closed 3 years ago

noqcks commented 3 years ago
this.lines[0].StartsWith is not a function
at Generated.isGeneratedGrammarkit (/var/task/node_modules/@noqcks/generated/lib/generated.js:197:26)

I'm seeing this in the pull-request-size github bot logs.

EDIT: this was fixed by e635af08f24fa840080b83dd2c274cf155045c7c

noqcks commented 3 years ago

as well

Cannot read property 'toString' of undefined
at new Generated (/var/task/node_modules/@noqcks/generated/lib/generated.js:8:23)

only for synchronize events in pull-request-size

EDIT: fixed in https://github.com/noqcks/generated/pull/10