🎏 JSON streaming

This commit is contained in:
2021-05-06 15:43:28 -07:00
parent d11a8560e7
commit 284433696e
4 changed files with 467 additions and 82 deletions

View File

@@ -183,6 +183,7 @@ export const unzip = async (
break;
}
if (fileName !== "" && entry.type !== "Directory") {
logger.info(`Attempting to write ${fileName}`);
entry.pipe(createWriteStream(paths.targetPath + "/" + fileName));
extractedFiles.push({
name: fileName,