fix: duplicate media folder (#69)

fixes latest comment from https://github.com/VERT-sh/VERT/issues/69#issuecomment-2809416669
This commit is contained in:
JovannMC 2025-05-07 16:31:20 +03:00
parent d233cb868f
commit 747fbf2cc8
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ const zipFiles = async (
output: File,
entries: PandocEntries,
): Promise<Uint8Array> => {
const zipFormatted = pandocToFiles(entries, "media");
const zipFormatted = pandocToFiles(entries);
const zipped = zip.makeZip([...zipFormatted, output]);
// read the ReadableStream to the end
const reader = zipped.getReader();