From 077846ed3461c6a9526c7671c044188265052f3d Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Thu, 28 Mar 2024 18:34:07 +0000 Subject: [PATCH] adding readable check --- packages/artifact/src/internal/upload/blob-upload.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/artifact/src/internal/upload/blob-upload.ts b/packages/artifact/src/internal/upload/blob-upload.ts index 87bb7237..f98cab26 100644 --- a/packages/artifact/src/internal/upload/blob-upload.ts +++ b/packages/artifact/src/internal/upload/blob-upload.ts @@ -52,7 +52,8 @@ export async function uploadZipToBlobStorage( zipUploadStream.pipe(hashStream).setEncoding('hex') // This stream is used to compute a hash of the zip content that gets used. Integrity check core.info('Beginning upload of artifact content to blob storage') - + const isItReadable = zipUploadStream.readable + core.info(`Is the zipUploadStream readable? ${isItReadable}`) try { await blockBlobClient.uploadStream( uploadStream,