From 6effc2377b7fc37dde650fbe2c995c8caf457456 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Tue, 21 Sep 2021 13:05:03 -0700 Subject: [PATCH] include js change of nlsmetadata --- build/azure-pipelines/upload-nlsmetadata.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/azure-pipelines/upload-nlsmetadata.js b/build/azure-pipelines/upload-nlsmetadata.js index 5524325b8d0..27c9438187f 100644 --- a/build/azure-pipelines/upload-nlsmetadata.js +++ b/build/azure-pipelines/upload-nlsmetadata.js @@ -14,13 +14,13 @@ const azure = require('gulp-azure-storage'); const root = path.dirname(path.dirname(__dirname)); const commit = util.getVersion(root); function main() { - return es.merge(vfs.src('out-vscode-min/nls.metadata.json', { base: 'out-vscode-min' }), vfs.src('.build/extensions/**/nls.metadata.json', { base: '.build/extensions' }), vfs.src('.build/extensions/**/nls.metadata.header.json', { base: '.build/extensions' }), vfs.src('.build/extensions/**/package.nls.json', { base: '.build/extensions' })) + return es.merge(vfs.src('out-vscode-web-min/nls.metadata.json', { base: 'out-vscode-web-min' }), vfs.src('.build/extensions/**/nls.metadata.json', { base: '.build/extensions' }), vfs.src('.build/extensions/**/nls.metadata.header.json', { base: '.build/extensions' }), vfs.src('.build/extensions/**/package.nls.json', { base: '.build/extensions' })) .pipe(merge({ fileName: 'combined.nls.metadata.json', jsonSpace: '', edit: (parsedJson, file) => { let key; - if (file.base === 'out-vscode-min') { + if (file.base === 'out-vscode-web-min') { return { vscode: parsedJson }; } // Handle extensions and follow the same structure as the Core nls file.