mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-18 20:50:12 +08:00
chore(lint): 改进代码样式 (#1116)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
b9cf52404d
commit
41f02f34c2
@ -35,7 +35,7 @@ func (l *list) add(grp int64, txt string) {
|
||||
l.m[grp] = msgs
|
||||
return
|
||||
}
|
||||
copy(msgs[:], msgs[1:])
|
||||
copy(msgs, msgs[1:])
|
||||
msgs[len(msgs)-1] = txt
|
||||
l.m[grp] = msgs
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user