Skip to content

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

@evanp

Description

@evanp

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 '+'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions