From ff5d85ea8c913037775ef2cdb7670f737e1e83d8 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Fri, 10 Jun 2022 16:06:00 +0800 Subject: [PATCH] fix(#4993): correct `db.json` path in debug logging (#4994) --- lib/hexo/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hexo/index.js b/lib/hexo/index.js index 332080396f..30a1f78956 100644 --- a/lib/hexo/index.js +++ b/lib/hexo/index.js @@ -151,7 +151,7 @@ class Hexo extends EventEmitter { const dbPath = args.output || base; if (/^(init|new|g|publish|s|deploy|render|migrate)/.test(this.env.cmd)) { - this.log.d(`Writing database to ${dbPath}/db.json`); + this.log.d(`Writing database to ${join(dbPath, 'db.json')}`); } this.database = new Database({