Skip to content

Commit 8eaff5a

Browse files
committed
Fix linter
1 parent 3881828 commit 8eaff5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/repository/files/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020

2121
func GetContentsListFromTrees(ctx context.Context, repo *repo_model.Repository, branch string, treeNames []string) ([]*api.ContentsResponse, error) {
2222
files := []*api.ContentsResponse{}
23-
var size int64 = 0
23+
var size int64
2424
for _, file := range treeNames {
2525
fileContents, err := GetContents(ctx, repo, file, branch, false)
2626
if err != nil {

0 commit comments

Comments
 (0)