mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Using correct newline
This commit is contained in:
@@ -1048,7 +1048,7 @@ function createI18nFile(originalFilePath, messages) {
|
||||
}
|
||||
var content = JSON.stringify(result, null, '\t');
|
||||
if (process.platform === 'win32') {
|
||||
content = content.replace(/\n/g, '/r/n');
|
||||
content = content.replace(/\n/g, '\r\n');
|
||||
}
|
||||
return new File({
|
||||
path: path.join(originalFilePath + '.i18n.json'),
|
||||
|
||||
Reference in New Issue
Block a user