diff --git a/MarkDownToPdfScript/main.ts b/MarkDownToPdfScript/main.ts index 3838076..e355039 100644 --- a/MarkDownToPdfScript/main.ts +++ b/MarkDownToPdfScript/main.ts @@ -27,17 +27,12 @@ export const work = async (source: string, target: string): Promise => { const pdfBufferArray = await Promise.all(pdfBufferPromiseArray); - console.log(); - const targetDir = path.parse(target).dir; await fsp .access(targetDir) .catch(() => fsp.mkdir(targetDir, { recursive: true })); - console.log(pdfBufferArray); - return; - const zipFile = new AdmZip(); pdfBufferArray.forEach((e) => e && zipFile.addFile(e.name, e.file)); zipFile.writeZip(target);