Skip to content

Commit c051f2f

Browse files
committed
🐛 修改lint
1 parent ea6eb4d commit c051f2f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugin/bilibili/card2msg.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ func videoCard2msg(card bz.Card) (msg []message.Segment, err error) {
318318
}
319319
} else {
320320
if err != nil {
321-
err = nil
322321
msg = append(msg, message.Text("UP主: ", card.Owner.Name, "\n"))
323322
} else {
324323
msg = append(msg, message.Text("UP主: ", card.Owner.Name, " 粉丝: ", bz.HumanNum(mCard.Fans), "\n"))

0 commit comments

Comments
 (0)