1
0
Fork 0

adding default back to zipstream call

pull/1700/head
Vallie Joseph 2024-03-28 15:44:27 +00:00
parent 560ae4debd
commit 8e29fb2e30
1 changed files with 1 additions and 1 deletions

View File

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