fix: unready script chapters error
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
"@types/adm-zip": "^0.5.7",
|
||||
"@types/node": "^24.0.15"
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"adm-zip": "^0.5.16"
|
||||
}
|
||||
}
|
||||
}
|
||||
3566
scripts/data.json
3566
scripts/data.json
File diff suppressed because one or more lines are too long
@@ -3,7 +3,7 @@ import { PATHS, CHAPTERS, UNIQUES_FRAMES } from "./shared";
|
||||
|
||||
if (!fs.existsSync(PATHS.UNREADY)) fs.mkdirSync(PATHS.UNREADY);
|
||||
|
||||
for (const chapter of Object.keys(CHAPTERS)) {
|
||||
for (const chapter of CHAPTERS) {
|
||||
const original_path = `${PATHS.ORIGINAL}/${chapter}`;
|
||||
if (!fs.existsSync(PATHS.UNREADY)) fs.mkdirSync(PATHS.UNREADY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user