pug-site-core 2.0.19 → 2.0.20
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/lib/generate.js +0 -3
- package/package.json +2 -2
package/lib/generate.js
CHANGED
|
@@ -330,9 +330,6 @@ export async function fetchDataToJsonFile(args) {
|
|
|
330
330
|
let data = await getData[funName](language);
|
|
331
331
|
await checkData(data, language, funName);
|
|
332
332
|
if (Array.isArray(data)) {
|
|
333
|
-
await fse.remove(
|
|
334
|
-
paths.resolveRoot("jsonData", language, ...jsonFilePath.slice(0, -1))
|
|
335
|
-
);
|
|
336
333
|
await async.eachLimit(data, 12, async (item, index) => {
|
|
337
334
|
let lastJsonFilePath;
|
|
338
335
|
if (item.page_name) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pug-site-core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.20",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"ws": "^8.18.0"
|
|
47
47
|
},
|
|
48
48
|
"license": "ISC",
|
|
49
|
-
"description": "
|
|
49
|
+
"description": "再次修复错误的删除文件问题",
|
|
50
50
|
"files": [
|
|
51
51
|
"lib/",
|
|
52
52
|
"index.js"
|