Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible fix for issue with Github PR formatter commenting on wrong lines #75

Closed
wants to merge 2 commits into from

Conversation

11mdlow
Copy link

@11mdlow 11mdlow commented Mar 12, 2015

Alright, this is to follow up to my previous pr: #72 and is an attempt to fix #39.

The issue is still the same: pronto has issues where you make commits/changes around the same sections of code, as it will actually pick up a line from it's last context, and not when it was added. This then calculates an incorrect position, and comments on a wrong line.

I'll admit this isn't be ideal behavior, as it will now comment on an outdated diff, but to me it is better than commenting on the wrong line.

What do you think?

@mmozuras
Copy link
Member

@11mdlow sorry for taking so long to answer.

Doing it the proposed way wouldn't work when there are multiple lines that are exactly same, right?

@mmozuras
Copy link
Member

PRs #91 and #93 from @jhass seems to be better fixes for this issue.

@11mdlow thanks for the effort! 🙇

@mmozuras mmozuras closed this Sep 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check pull request for deviation before writing comments
2 participants