Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Moreno <joao.moreno@microsoft.com>2022-03-25 13:20:41 +0300
committerJoao Moreno <joao.moreno@microsoft.com>2022-03-25 13:20:55 +0300
commit66d1e5dac0571c5788eef650607199ab9f39fd4a (patch)
treecf4cfcad1e94ce34437007d0349544c77145f9ce /build/azure-pipelines
parente18e7972ada674812bb6074bbd4d03a41d165405 (diff)
ups
Diffstat (limited to 'build/azure-pipelines')
-rw-r--r--build/azure-pipelines/common/createAsset.js2
-rw-r--r--build/azure-pipelines/common/createAsset.ts2
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}`;