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

Multiple blank lines at the end of the file #12

Closed
areYouLazy opened this issue Nov 26, 2020 · 0 comments · Fixed by #18
Closed

Multiple blank lines at the end of the file #12

areYouLazy opened this issue Nov 26, 2020 · 0 comments · Fixed by #18

Comments

@areYouLazy
Copy link

I noticed that if I made 2+ consecutive Save() calls, the file ends up with a bunch of blank lines at the end.
I think this can be a point to look at

txeh/txeh.go

Line 278 in 09e2953

hf = hf + fmt.Sprintln(lineFormatter(hfl))

The use of Sprintln adds a "\n" at the end of every line, which can be ok except for the last line.

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 a pull request may close this issue.

1 participant