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

Should check if file ends with a new-line and if not add a new line before inserting the recurring entries #23

Open
JSpenced opened this issue Feb 13, 2019 · 0 comments

Comments

@JSpenced
Copy link
Contributor

JSpenced commented Feb 13, 2019

The todo.txt file should always have a new line at the end of the file. It just happened that for some reason because of some editing I did in an editor that it didn't. This made the first entry not occur on the new line but on the last todo in the list. So I think before adding entries this should check to ensure the file ends with a newline. If not add it before adding the entries to the todo.txt.

eg....

Todo item here(A) entry here from ice_recur

instead of

Todo item here
(A) entry here from ice_recur
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

No branches or pull requests

1 participant