Skip to content

Commit 826ef86

Browse files
committed
Satisfy linter.
1 parent e54d2ba commit 826ef86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/repo/license.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type RepoLicense struct { //revive:disable-line:exported
2727
type RepoLicenseList []*RepoLicense //revive:disable-line:exported
2828

2929
func (rll RepoLicenseList) StringList() []string {
30-
var licenses = make([]string, 0, len(rll))
30+
licenses := make([]string, 0, len(rll))
3131
for _, rl := range rll {
3232
licenses = append(licenses, rl.License)
3333
}

0 commit comments

Comments
 (0)