mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-23 13:13:38 +09:00
Fix lint errors (#2547)
This commit is contained in:
@@ -119,9 +119,5 @@ func addUnitsToTables(x *xorm.Engine) error {
|
||||
}
|
||||
}
|
||||
|
||||
if err := sess.Commit(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return sess.Commit()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user