updating archive import

This commit is contained in:
Vallie Joseph
2024-03-28 15:41:52 +00:00
parent fda9d58d06
commit 560ae4debd
3 changed files with 2 additions and 286 deletions

View File

@@ -32,7 +32,7 @@ export async function createZipUploadStream(
const zlibOptions = {
zlib: {level: compressionLevel, bufferSize: getUploadChunkSize()}
}
const zip = new ZipStream.default(zlibOptions)
const zip = new ZipStream(zlibOptions)
// register callbacks for various events during the zip lifecycle
zip.on('error', err => {
core.error('An error has occurred while creating the zip file for upload')