mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 05:30:07 +08:00
chore: make lint happy
This commit is contained in:
parent
b01d3a4f14
commit
e12ec697e6
@ -283,7 +283,11 @@ func init() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer f.Close()
|
defer f.Close()
|
||||||
f.WriteString("PLACEHOLDER")
|
_, err = f.WriteString("PLACEHOLDER")
|
||||||
|
if err != nil {
|
||||||
|
ctx.SendChain(message.Text("ERROR: ", err))
|
||||||
|
return
|
||||||
|
}
|
||||||
noreplyat = true
|
noreplyat = true
|
||||||
} else {
|
} else {
|
||||||
_ = os.Remove(fp)
|
_ = os.Remove(fp)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user