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

.removeProject() does not remove the project from the text #13

Open
evanp opened this issue Mar 21, 2018 · 0 comments
Open

.removeProject() does not remove the project from the text #13

evanp opened this issue Mar 21, 2018 · 0 comments

Comments

@evanp
Copy link
Contributor

evanp commented Mar 21, 2018

This code:

items = todotxt.parse('Do something +Foo')
items[0].removeProject('Foo')
console.log(todotxt.stringify(items))

... will output text that still has 'Foo' in it. line 138 uses the wrong prefix for projects; it should be a '+'.

evanp added a commit to evanp/todotxt that referenced this issue Mar 21, 2018
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