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 reading last line from report #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jonatascm
Copy link

When the last line of report.md is, eg.:

**Review Name:**

linter.py is throwing an error IndexError: list index out of range, because it tries to get next empty line with:

while report[lineNumber + 1] == "":
                del report[lineNumber + 1]

This PR add a check if report[lineNumber + 1] exists

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.

1 participant