Bump git-todo-parser

This commit is contained in:
Stefan Haller 2025-04-29 14:55:10 +02:00
parent d87bdaf94d
commit 14eb4c29ca
5 changed files with 5 additions and 8 deletions

View file

@ -150,9 +150,6 @@ func parseLine(line string, commentChar byte) (Todo, error) {
}
func isCommand(i TodoCommand, s string) bool {
if i < 0 || i > Comment {
return false
}
return len(s) > 0 &&
(todoCommandInfo[i].cmd == s || todoCommandInfo[i].nickname == s)
}

View file

@ -1,6 +1,6 @@
package todo
type TodoCommand int
type TodoCommand uint8
const (
Pick TodoCommand = iota + 1