Skip to content

Commit 3607a25

Browse files
committed
after make fmt
1 parent 68dd510 commit 3607a25

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

services/gitdiff/gitdiff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ func GetDiff(ctx context.Context, gitRepo *git.Repository, opts *DiffOptions, fi
12481248
return diff, nil
12491249
}
12501250

1251-
func highlightCode(commit *git.Commit, beforeCommit *git.Commit, diffFile *DiffFile) ([]string, []string) {
1251+
func highlightCode(commit, beforeCommit *git.Commit, diffFile *DiffFile) ([]string, []string) {
12521252
var oldLines []string
12531253
var newLines []string
12541254

services/gitdiff/highlightdiff_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,3 @@ func TestDiffWithHighlightPlaceholderExhausted(t *testing.T) {
9191
expected = `a <span class="added-code">></span> b`
9292
assert.Equal(t, expected, output)
9393
}
94-

0 commit comments

Comments
 (0)