1
0
Fork 0

adding finalize

pull/1700/head
Vallie Joseph 2024-03-28 17:15:08 +00:00
parent 9299663297
commit b1f55c6942
1 changed files with 3 additions and 5 deletions

View File

@ -72,12 +72,10 @@ export async function createZipUploadStream(
core.debug( core.debug(
`Zip read high watermark value ${zipUploadStream.readableHighWaterMark}` `Zip read high watermark value ${zipUploadStream.readableHighWaterMark}`
) )
await Promise.all(fileUploadPromesses).then(() => { await Promise.all(fileUploadPromesses)
zip.finalize() zip.finalize()
return zipUploadStream return zipUploadStream
})
return Promise.reject(zipUploadStream)
} }
// eslint-disable-next-line @typescript-eslint/no-explicit-any // eslint-disable-next-line @typescript-eslint/no-explicit-any