Update build.ts

This commit is contained in:
CN 2024-01-10 12:24:08 +01:00 committed by GitHub
parent 74768250d4
commit 77f3f22ebd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ const path = `${dir}/${file}`;
!existsSync(dir) && mkdirSync(dir); !existsSync(dir) && mkdirSync(dir);
const output = createWriteStream(`${__dirname}/../${path}`); const output = createWriteStream(`${__dirname}/../${path}`);
const archive = archiver('zip'); const archive = archiver('zip');
archive.on('error', (error) => { archive.on('error', (error) => {