trim testing

This commit is contained in:
nolan 2020-07-29 12:28:09 -07:00
parent bbfd575983
commit ce7c2fd931

View File

@ -79,7 +79,10 @@ class LocaleLoader {
for(const [key, value] of Object.entries(parsed)) {
let text = process.platform === 'win32' ? value.replace(/^(\r)|(\r){1,}$/gu, '').replace(/\r/gu, '\n') : value;
if(key === 'C_HELP') console.log(text);
if(key === 'C_HELP') console.log('================================ v TRIM v ================================');
if(process.platform === 'linux') text = text.trim();
if(key === 'C_HELP') console.log(text);
parsed[key] = text;
}