Skip to content

Commit 25e0b8f

Browse files
committed
fix lint
1 parent 5ae2265 commit 25e0b8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/gitdiff/gitdiff.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,8 @@ func ParsePatch(maxLines, maxLineCharacters, maxFiles int, reader io.Reader, ski
504504
return diff, err
505505
}
506506

507-
prepareValue := func(src string, prefix string) string {
508-
return strings.TrimSpace(strings.TrimPrefix(src, prefix))
507+
prepareValue := func(s, p string) string {
508+
return strings.TrimSpace(strings.TrimPrefix(s, p))
509509
}
510510

511511
parsingLoop:

0 commit comments

Comments
 (0)