oppiliappan/dijo

Duplicate habits

Closed this issue · 3 comments

Hi,

Currently (version 0.2.0), you can add two habits (or more) with the same name. Both of them will be displayed and saved and even deleted if you call :delete.

Maybe the add command should refuse the creation of a habit if there is already one with the same name ?

Yep, #33 fixes this.

Oups my bad, at least I'll check how it was implemented, a good way to learn :)

I'd like to keep this issue open unti #33 is merged :)

Edit: had some time on my hands, so I merged it right away.