core/i18n.js
function write(myLocale) {
    try {
        stats = fs.lstatSync(directory);
    } catch(e) {
        fs.mkdirSync(directory, 0755);
    }
    fs.writeFile(locate(myLocale), JSON.stringify(locales[myLocale], null, "\t"));
}
function write(myLocale) {
    try {
        stats = fs.lstatSync(directory);
    } catch(e) {
        fs.mkdirSync(directory, 0755);
    }
    fs.writeFile(locate(myLocale), JSON.stringify(locales[myLocale], null, "\t"));
}
function write ( myLocale ) { try { stats = fs . lstatSync ( directory ) ; } catch ( e ) { fs . mkdirSync ( directory , 0755 ) ; } fs . writeFile ( locate ( myLocale ) , JSON . stringify ( locales [ myLocale ] , null , "\t" ) ) ; }
try writing a file in a created directory
try writing a file in a created directory