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

Fix line numbers being duplicated #504

Merged
merged 1 commit into from
Feb 7, 2022
Merged

Fix line numbers being duplicated #504

merged 1 commit into from
Feb 7, 2022

Conversation

seanlane
Copy link
Contributor

@seanlane seanlane commented Feb 3, 2022

Noticed that line numbers appear to be duplicated. I believe it stems from these lines. If linenumber > 0 then the line number statement will be added twice, at lines 85 and 92 of the previous commit. This moves the second conditional statement into the else-clause of the first conditional statement, so it's only added once.

Signed-off-by: Sean Lane sean.lane@neighbor.com

Signed-off-by: Sean Lane <sean.lane@neighbor.com>
@fsamin
Copy link
Member

fsamin commented Feb 7, 2022

Thank you for your contribution 👍

@fsamin fsamin merged commit 5be7008 into ovh:master Feb 7, 2022
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.

3 participants