This commit is contained in:
Erik 2020-07-25 12:44:29 +03:00
parent 4c25013b19
commit 03a674f962

View File

@ -50,7 +50,7 @@ class LocaleLoader {
loadFile(file) {
if (process.platform === 'linux') file = file.replace('\r', '');
if (process.platform === 'linux') file = file.replace('\r', '\n');
const lines = file.split('\n');
const parsed = {};
@ -80,6 +80,7 @@ class LocaleLoader {
// console.log(String.raw`${value}`);
}
console.log(parsed);
return parsed;
}