Skip to content

Commit

Permalink
fix(#4993): correct db.json path in debug logging (#4994)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Jun 10, 2022
1 parent e62f2a6 commit ff5d85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hexo/index.js
Expand Up @@ -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({
Expand Down

0 comments on commit ff5d85e

Please sign in to comment.