From d70dea4097017f2c0ed1ff0aa6f3ed0637592afb Mon Sep 17 00:00:00 2001 From: curben <2809763-curben@users.noreply.gitlab.com> Date: Thu, 12 Dec 2019 08:58:09 +0000 Subject: [PATCH] refactor(sitemap): let to const --- themes/chameleon/scripts/sitemap/generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/chameleon/scripts/sitemap/generator.js b/themes/chameleon/scripts/sitemap/generator.js index 8eb6677..bfbea6a 100644 --- a/themes/chameleon/scripts/sitemap/generator.js +++ b/themes/chameleon/scripts/sitemap/generator.js @@ -14,7 +14,7 @@ const isMatch = (path, patterns) => { module.exports = function (locals) { const config = this.config - let skipRenderList = ['*.js', '*.css'] + const skipRenderList = ['*.js', '*.css'] if (Array.isArray(config.skip_render)) { skipRenderList.push(...config.skip_render)