Skip to content

Commit 9c1e588

Browse files
committed
fix lint
1 parent 5bdfa3d commit 9c1e588

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

models/migrations/v143.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
package migrations
66

77
import (
8-
"code.gitea.io/gitea/models"
98
"code.gitea.io/gitea/modules/log"
109

1110
"xorm.io/xorm"
@@ -34,7 +33,7 @@ func recalculateStars(x *xorm.Engine) (err error) {
3433
if _, err = x.Exec("UPDATE `user` SET num_stars=(SELECT COUNT(*) FROM `star` WHERE uid=?) WHERE id=?", uid, uid); err != nil {
3534
return err
3635
}
37-
36+
3837
}
3938
}
4039

0 commit comments

Comments
 (0)