The API is expecting you to pass in the row number which is you is the
number indicating which row of a side by side diff the comment is on. This
row number might not match the file line number if your diff contains adds
/ deletes on either side.
The Review Bot project has some MIT licensed code
Hi All,
I have some automated machinery that creates diff comments based on the
line numbers in the new diff.
This creates an issue on the correct line number the majority of the time.
However, there are cases when the line number passed through the API does
not strictly map to the correct