Update Settings.js
added brackets to match etherpad lite devs' coding style
This commit is contained in:
parent
e17044d60e
commit
63b89b693d
|
@ -178,10 +178,11 @@ exports.reloadSettings = function reloadSettings() {
|
|||
// Discover where the settings file lives
|
||||
var settingsFilename = argv.settings || "settings.json";
|
||||
|
||||
if (path.resolve(settingsFilename)===settingsFilename)
|
||||
if (path.resolve(settingsFilename)===settingsFilename) {
|
||||
settingsFilename = path.resolve(settingsFilename);
|
||||
else
|
||||
} else {
|
||||
settingsFilename = path.resolve(path.join(exports.root, settingsFilename));
|
||||
}
|
||||
|
||||
var settingsStr;
|
||||
try{
|
||||
|
|
Loading…
Reference in New Issue