diff options
author | Joao Moreno <joao.moreno@microsoft.com> | 2022-03-25 13:20:41 +0300 |
---|---|---|
committer | Joao Moreno <joao.moreno@microsoft.com> | 2022-03-25 13:20:55 +0300 |
commit | 66d1e5dac0571c5788eef650607199ab9f39fd4a (patch) | |
tree | cf4cfcad1e94ce34437007d0349544c77145f9ce /build/azure-pipelines | |
parent | e18e7972ada674812bb6074bbd4d03a41d165405 (diff) |
ups
Diffstat (limited to 'build/azure-pipelines')
-rw-r--r-- | build/azure-pipelines/common/createAsset.js | 2 | ||||
-rw-r--r-- | build/azure-pipelines/common/createAsset.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/azure-pipelines/common/createAsset.js b/build/azure-pipelines/common/createAsset.js index 4c04ffb762a..57207e25cfe 100644 --- a/build/azure-pipelines/common/createAsset.js +++ b/build/azure-pipelines/common/createAsset.js @@ -183,7 +183,7 @@ async function main() { else { console.log('Uploading blobs to Azure storage...'); } - await uploadPromises; + await Promise.all(uploadPromises); console.log('All blobs successfully uploaded.'); const assetUrl = `${process.env['AZURE_CDN_URL']}/${quality}/${blobName}`; const blobPath = new URL(assetUrl).pathname; diff --git a/build/azure-pipelines/common/createAsset.ts b/build/azure-pipelines/common/createAsset.ts index 8dca506d96c..769b50e079d 100644 --- a/build/azure-pipelines/common/createAsset.ts +++ b/build/azure-pipelines/common/createAsset.ts @@ -220,7 +220,7 @@ async function main(): Promise<void> { console.log('Uploading blobs to Azure storage...'); } - await uploadPromises; + await Promise.all(uploadPromises); console.log('All blobs successfully uploaded.'); const assetUrl = `${process.env['AZURE_CDN_URL']}/${quality}/${blobName}`; |