refactor(sitemap): let to const

This commit is contained in:
curben 2019-12-12 08:58:09 +00:00
parent 163b8cd307
commit d70dea4097
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 1 additions and 1 deletions

View File

@ -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)