-
Notifications
You must be signed in to change notification settings - Fork 28
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
getLineRanges reports contentLength of 1 for a file's first line if it's blank #94
Comments
Merged
@JoshuaKGoldberg I cannot reproduce this. I created #95 to add some tests for this. I guess the line is not really empty but contains a BOM. I don't know if this function is the right place to handle this. |
Merged
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See discussion in palantir/tslint#4518. If a file contains these lines:
...then the reported
contentLength
s are:The text was updated successfully, but these errors were encountered: