feat: upgrade golangci-lint to 1.45.2
This commit is contained in:
parent
09c0d14444
commit
5cf263a86f
20 changed files with 77 additions and 59 deletions
|
|
@ -49,7 +49,7 @@ func ExportUserData(s *xorm.Session, u *user.User) (err error) {
|
|||
// Open zip
|
||||
dumpFile, err := os.Create(tmpFilename)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error opening dump file: %s", err)
|
||||
return fmt.Errorf("error opening dump file: %w", err)
|
||||
}
|
||||
defer dumpFile.Close()
|
||||
|
||||
|
|
|
|||
Reference in a new issue