Update to VS Code 1.52.1

This commit is contained in:
Asher
2021-02-09 16:08:37 +00:00
1351 changed files with 56560 additions and 38990 deletions

View File

@ -18,7 +18,9 @@ loader.config({
catchError: true,
nodeRequire: require,
nodeMain: __filename,
'vs/nls': nlsConfig
'vs/nls': nlsConfig,
amdModulesPattern: /^vs\//,
recordStats: true
});
// Running in Electron
@ -29,7 +31,7 @@ if (process.env['ELECTRON_RUN_AS_NODE'] || process.versions['electron']) {
}
// Pseudo NLS support
if (nlsConfig.pseudo) {
if (nlsConfig && nlsConfig.pseudo) {
loader(['vs/nls'], function (nlsPlugin) {
nlsPlugin.setPseudoTranslation(nlsConfig.pseudo);
});