From 16775f624851551651edaaaae16300b95159094c Mon Sep 17 00:00:00 2001 From: curbengh <43627182+curbengh@users.noreply.github.com> Date: Fri, 29 Nov 2019 03:05:11 +0000 Subject: [PATCH] style: no-multi-assign --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index c302ba5..33e2422 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const { extname, join } = require('path'); -const config = hexo.config.feed = Object.assign({ +hexo.config.feed = Object.assign({ type: 'atom', limit: 20, hub: '', @@ -15,6 +15,8 @@ const config = hexo.config.feed = Object.assign({ template: '' }, hexo.config.feed); +const config = hexo.config.feed; + let type = config.type; let path = config.path; let template = config.template;