1
0
Fork 0

adding closed check

pull/1700/head
Vallie Joseph 2024-03-28 18:36:40 +00:00
parent 077846ed34
commit 73f526b642
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@ export async function uploadZipToBlobStorage(
core.info('Beginning upload of artifact content to blob storage') core.info('Beginning upload of artifact content to blob storage')
const isItReadable = zipUploadStream.readable 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 { try {
await blockBlobClient.uploadStream( await blockBlobClient.uploadStream(
uploadStream, uploadStream,