Skip to content

Commit a0f5977

Browse files
author
Yuan Ting
authored
Update gitdiff.go
1 parent 5f365f9 commit a0f5977

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitdiff/gitdiff.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ func (f *TextFragment) FuncNames() []string {
9090
// func (this *Object) NAME(arg1, arg2, ...)
9191
low := strings.Index(def, ")") + 2
9292
if low >= len(def) {
93-
log.Printf("Can't handle '%s'")
93+
log.Printf("Can't handle '%s'"def)
9494
return
9595
}
9696
hig := strings.Index(def[low:], "(") + low
9797
if low < hig && low >= 0 && hig < len(def) {
9898
funcnames = append(funcnames, def[low:hig])
9999
} else {
100-
log.Printf("Can't handle '%s'")
100+
log.Printf("Can't handle '%s'"def)
101101
}
102102
}
103103
addname(f.Comment)

0 commit comments

Comments
 (0)