Linting fixes

master
Mark Moffat 2018-10-05 21:28:33 +09:30
parent d2679077a4
commit ac652edcb3
1 changed files with 3 additions and 4 deletions

View File

@ -221,9 +221,8 @@ exports.getConfigFilename = () => {
let filename = path.join(__dirname, '../config', 'settings-local.json'); let filename = path.join(__dirname, '../config', 'settings-local.json');
if(fs.existsSync(filename)){ if(fs.existsSync(filename)){
return filename; return filename;
} else {
return path.join(__dirname, '../config', 'settings.json');
} }
return path.join(__dirname, '../config', 'settings.json');
}; };
exports.getConfig = () => { exports.getConfig = () => {