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 off when file starts with linebreak(s) #21

Merged
merged 1 commit into from
Sep 30, 2023

Conversation

BenceSzalai
Copy link
Contributor

Fixes #20

The problem was caused by trimming \n on the command result that gave the contents of the files to be processed.

@ojarjur
Copy link
Contributor

ojarjur commented Sep 30, 2023

Very nice catch; thank you so much for taking the time and putting in the effort to fix this!

Also, I apologize for the extremely late response; I apparently have my GitHub notifications misconfigured.

@ojarjur ojarjur merged commit ea39e76 into google:master Sep 30, 2023
@BenceSzalai
Copy link
Contributor Author

No worries, I'm glad it's merged.

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.

Line numbers are off if file starts with newlines
2 participants