From 6a747d2f9dadd366fd58e200a4db9533987d1ca0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 25 Mar 2025 12:41:42 +0900 Subject: [PATCH] =?UTF-8?q?chore(lint):=20=E6=94=B9=E8=BF=9B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=A0=B7=E5=BC=8F=20(#1144)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- plugin/minecraftobserver/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/minecraftobserver/store.go b/plugin/minecraftobserver/store.go index 0bc85960..f48cca1c 100644 --- a/plugin/minecraftobserver/store.go +++ b/plugin/minecraftobserver/store.go @@ -61,7 +61,7 @@ var ( dbInstance *db // 开启并检查数据库链接 getDB = fcext.DoOnceOnSuccess(func(ctx *zero.Ctx) bool { - var err error = initializeDB(engine.DataFolder() + dbPath) + var err = initializeDB(engine.DataFolder() + dbPath) if err != nil { // logrus.Errorln(logPrefix+"initializeDB ERROR: ", err) ctx.SendChain(message.Text("[mc-ob] ERROR: ", err))