1
0
Fork 0

Adding pipe back

pull/1700/head
Vallie Joseph 2024-03-28 19:32:40 +00:00
parent b6c87ceea7
commit 9322468ef0
1 changed files with 3 additions and 1 deletions

View File

@ -71,9 +71,11 @@ export async function createZipUploadStream(
})
}
// zip.finalize()
zip.finalize()
const bufferSize = getUploadChunkSize()
const zipUploadStream = new ZipUploadStream(bufferSize)
zip.pipe(zipUploadStream) // Pipe the zip stream into zipUploadStream
core.debug(
`Zip write high watermark value ${zipUploadStream.writableHighWaterMark}`
)