mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Bump git-todo-parser
This commit is contained in:
parent
d87bdaf94d
commit
14eb4c29ca
5 changed files with 5 additions and 8 deletions
3
vendor/github.com/stefanhaller/git-todo-parser/todo/parse.go
generated
vendored
3
vendor/github.com/stefanhaller/git-todo-parser/todo/parse.go
generated
vendored
|
@ -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)
|
||||
}
|
||||
|
|
2
vendor/github.com/stefanhaller/git-todo-parser/todo/todo.go
generated
vendored
2
vendor/github.com/stefanhaller/git-todo-parser/todo/todo.go
generated
vendored
|
@ -1,6 +1,6 @@
|
|||
package todo
|
||||
|
||||
type TodoCommand int
|
||||
type TodoCommand uint8
|
||||
|
||||
const (
|
||||
Pick TodoCommand = iota + 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue