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 an off-by-one on the line numbers that was causing last-line errors #29

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

lornajane
Copy link
Contributor

I was getting some stack trace output and noticed it was always the last line of the description field - and that all the other messages seemed slightly off too. I don't know how we didn't catch it earlier, but the line numbers thing starts from one but the split lines start from zero! This fixes it :)

@lornajane lornajane merged commit 90d76b0 into main Feb 12, 2024
2 checks passed
@lornajane lornajane deleted the fix-markdown-validate-line-numbers branch February 12, 2024 15:12
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.

2 participants