Skip to content

Conversation

IvanGoncharov
Copy link
Member

I noticed that if an error happens on the last line 9 lines string all line numbers are padded with extra space.
It's happening because the padding is calculated based on the size of next line number without checking if this line exists.

@leebyron leebyron merged commit 4ac4bf4 into graphql:master Apr 30, 2018
@leebyron
Copy link
Contributor

Nice catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants