fix: unready script chapters error
This commit is contained in:
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