We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent4a8ba67 commitfb40f08Copy full SHA for fb40f08
src/vs/base/node/nls.ts
@@ -127,8 +127,6 @@ export async function resolveNLSConfiguration({ userLocale, osLocale, userDataPa
127
promises.readFile(mainLanguagePackPath,'utf-8').then(content=>JSON.parse(content)),
128
]);
129
130
-awaitpromises.mkdir(commitLanguagePackCachePath,{recursive:true});
131
-
132
constnlsResult:string[]=[];
133
134
// We expect NLS messages to be in a flat array in sorted order as they
@@ -145,6 +143,8 @@ export async function resolveNLSConfiguration({ userLocale, osLocale, userDataPa
145
143
}
146
144
147
+awaitpromises.mkdir(commitLanguagePackCachePath,{recursive:true});
+
148
awaitPromise.all([
149
promises.writeFile(languagePackMessagesFile,JSON.stringify(nlsResult),'utf-8'),
150
promises.writeFile(translationsConfigFile,JSON.stringify(languagePack.translations),'utf-8')