💩👌 make lint happy

This commit is contained in:
fumiama 2022-02-03 13:40:00 +08:00
parent 4fe64eeb44
commit a7c56d9e77
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
// Package nsfw 图片合规性审查
package nsfw
import (

View File

@ -56,8 +56,8 @@ func init() {
ctx.SendChain(message.Text("ERROR:", err))
return
}
f.Write(data)
f.Close()
_, _ = f.Write(data)
_ = f.Close()
ctx.SendChain(message.Image("file:///" + file.BOTPATH + "/" + n))
}
})