hexo-swpp 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -353,7 +353,7 @@ const tidyDiff = (dif, expand) => {
|
|
|
353
353
|
logger.error(`[buildUpdate] 指定 URL(${url.pathname}) 未查询到缓存规则!`)
|
|
354
354
|
continue
|
|
355
355
|
}
|
|
356
|
-
if (cache.clean) tidied.updateGlobal = true
|
|
356
|
+
if (!cache.clean) tidied.updateGlobal = true
|
|
357
357
|
if (it.match(/(\/|\.html)$/)) { // 判断缓存是否是 html
|
|
358
358
|
if (isMerge(it, tidied)) continue
|
|
359
359
|
if (mode.html ?? false) tidied.page.add(url.pathname)
|