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

@ -219,11 +219,10 @@ exports.getImages = (dir, req, res, callback) => {
exports.getConfigFilename = () => {
let filename = path.join(__dirname, '../config', 'settings-local.json');
if (fs.existsSync(filename)) {
return filename;
} else {
return path.join(__dirname, '../config', 'settings.json');
if(fs.existsSync(filename)){
return filename;
}
return path.join(__dirname, '../config', 'settings.json');
};
exports.getConfig = () => {