Update script.js

This commit is contained in:
Dan Harrin
2023-02-16 13:09:43 +00:00
parent 8d89fc907c
commit 111c7bbb5d
+2
View File
@@ -2,6 +2,8 @@ import fs from 'fs'
import puppeteer from 'puppeteer'
import schema from './schema.js'
fs.rmSync('images', { recursive: true, force: true })
for (const [file, options] of Object.entries(schema)) {
const directory = file.substring(0, file.lastIndexOf('/'))