Skip to content

Commit

Permalink
adding closed check
Browse files Browse the repository at this point in the history
  • Loading branch information
vmjoseph committed Mar 28, 2024
1 parent 077846e commit 73f526b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/artifact/src/internal/upload/blob-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export async function uploadZipToBlobStorage(

core.info('Beginning upload of artifact content to blob storage')
const isItReadable = zipUploadStream.readable
core.info(`Is the zipUploadStream readable? ${isItReadable}`)
core.info(`Is the zipUploadStream readable? ${isItReadable}`) // it is readable, that's good
const isItClosed = zipUploadStream.closed
core.info(`Is the zipUploadStream closed? ${isItClosed}`) // it is not closed, that's good
try {
await blockBlobClient.uploadStream(
uploadStream,
Expand Down

0 comments on commit 73f526b

Please sign in to comment.