From c1956b8ccec9afb87a37c5783408f2dfd9fb0cda Mon Sep 17 00:00:00 2001 From: Tyler James Leonhardt Date: Thu, 14 Jul 2022 12:57:48 -0700 Subject: [PATCH] concat arrays instead of replace because we want all items in the array (#155228) --- build/azure-pipelines/upload-nlsmetadata.js | 1 + build/azure-pipelines/upload-nlsmetadata.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/build/azure-pipelines/upload-nlsmetadata.js b/build/azure-pipelines/upload-nlsmetadata.js index fd69b9a8c36..c92cd277d85 100644 --- a/build/azure-pipelines/upload-nlsmetadata.js +++ b/build/azure-pipelines/upload-nlsmetadata.js @@ -20,6 +20,7 @@ function main() { .pipe(merge({ fileName: 'combined.nls.metadata.json', jsonSpace: '', + concatArrays: true, edit: (parsedJson, file) => { if (file.base === 'out-vscode-web-min') { return { vscode: parsedJson }; diff --git a/build/azure-pipelines/upload-nlsmetadata.ts b/build/azure-pipelines/upload-nlsmetadata.ts index 100f5d9cfd5..4749e1f9605 100644 --- a/build/azure-pipelines/upload-nlsmetadata.ts +++ b/build/azure-pipelines/upload-nlsmetadata.ts @@ -33,6 +33,7 @@ function main(): Promise { .pipe(merge({ fileName: 'combined.nls.metadata.json', jsonSpace: '', + concatArrays: true, edit: (parsedJson, file) => { if (file.base === 'out-vscode-web-min') { return { vscode: parsedJson };