Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Dec 9, 2020
1 parent 17555c1 commit 849924e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Expand Up @@ -4,12 +4,13 @@

const path = require('path');

const config = hexo.config.search = Object.assign({
hexo.config.search = Object.assign({
path : 'search.xml',
field : 'post',
content: true,
format : 'html'
}, hexo.config.search);
const config = hexo.config.search;

// Add extension name if doesn't exist
if (!path.extname(config.path)) {
Expand Down

0 comments on commit 849924e

Please sign in to comment.