Skip to content

Commit

Permalink
quick bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdevivo committed Nov 12, 2019
1 parent 0cadba8 commit bd0139d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/commands/todos.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var todosCmd = &cobra.Command{
// timeout after 30 seconds
ctx, cancel := context.WithTimeout(ctx, 30*time.Second)
defer cancel()
_, err = t.FindBlame(ctx, r, commit, func(commit *object.Commit, remaining int) {
err = t.FindBlame(ctx, r, commit, func(commit *object.Commit, remaining int) {
total := len(t)
s.Suffix = fmt.Sprintf(" (%d/%d) %s: %s", total-remaining, total, commit.Hash, commit.Author.When)
})
Expand Down

0 comments on commit bd0139d

Please sign in to comment.