Skip to content

Commit 8a4ed57

Browse files
committed
don't fail on a git blame error
1 parent fa85108 commit 8a4ed57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/todos/todos.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ func (t *ToDos) FindBlame(ctx context.Context, dir string) error {
137137
Lines: lines,
138138
})
139139
if err != nil {
140-
return err
140+
// TODO (patrickdevivo) report this error
141+
continue
141142
}
142143
for line, blame := range blames {
143144
for _, todo := range todos {

0 commit comments

Comments
 (0)