groovecoder / discord

GitHub webhook that analyzes pull requests and adds comments about incompatible CSS
Mozilla Public License 2.0
29 stars 13 forks source link

1-line changes/files break comments #170

Open groovecoder opened 8 years ago

groovecoder commented 8 years ago

E.g., https://github.com/groovecoder/discord-test/commit/4d938b6066a527f6ef21fe1fec730560bc499c07 changed a single line that had a single compatibility issue.

https://github.com/mdn/discord/pull/169#issuecomment-173708235 summarizes: discord seemed to calculate the line as -1, which breaks the POST to GitHub API to create the comment.