Skip to content

Commit 6a747d2

Browse files
chore(lint): 改进代码样式 (FloatTech#1144)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 164c71a commit 6a747d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/minecraftobserver/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ var (
6161
dbInstance *db
6262
// 开启并检查数据库链接
6363
getDB = fcext.DoOnceOnSuccess(func(ctx *zero.Ctx) bool {
64-
var err error = initializeDB(engine.DataFolder() + dbPath)
64+
var err = initializeDB(engine.DataFolder() + dbPath)
6565
if err != nil {
6666
// logrus.Errorln(logPrefix+"initializeDB ERROR: ", err)
6767
ctx.SendChain(message.Text("[mc-ob] ERROR: ", err))

0 commit comments

Comments
 (0)