1
0
Fork 0

testing debug statements

pull/1700/head
Vallie Joseph 2024-03-28 15:53:03 +00:00
parent 97629b8767
commit ca87c5e124
1 changed files with 9 additions and 9 deletions

View File

@ -26,9 +26,9 @@ export async function createZipUploadStream(
uploadSpecification: UploadZipSpecification[], uploadSpecification: UploadZipSpecification[],
compressionLevel: number = DEFAULT_COMPRESSION_LEVEL compressionLevel: number = DEFAULT_COMPRESSION_LEVEL
): Promise<ZipUploadStream> { ): Promise<ZipUploadStream> {
core.debug( // core.debug(
`Creating Artifact archive with compressionLevel: ${compressionLevel}` // `Creating Artifact archive with compressionLevel: ${compressionLevel}`
) // )
const zlibOptions = { const zlibOptions = {
zlib: {level: compressionLevel, bufferSize: getUploadChunkSize()} zlib: {level: compressionLevel, bufferSize: getUploadChunkSize()}
} }
@ -85,12 +85,12 @@ export async function createZipUploadStream(
const bufferSize = getUploadChunkSize() const bufferSize = getUploadChunkSize()
const zipUploadStream = new ZipUploadStream(bufferSize) const zipUploadStream = new ZipUploadStream(bufferSize)
core.debug( // core.debug(
`Zip write high watermark value ${zipUploadStream.writableHighWaterMark}` // `Zip write high watermark value ${zipUploadStream.writableHighWaterMark}`
) // )
core.debug( // core.debug(
`Zip read high watermark value ${zipUploadStream.readableHighWaterMark}` // `Zip read high watermark value ${zipUploadStream.readableHighWaterMark}`
) // )
zip.pipe(zipUploadStream) zip.pipe(zipUploadStream)
zip.finalize() zip.finalize()