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
|
// Discover where the settings file lives
|
||||||
var settingsFilename = argv.settings || "settings.json";
|
var settingsFilename = argv.settings || "settings.json";
|
||||||
|
|
||||||
if (path.resolve(settingsFilename)===settingsFilename)
|
if (path.resolve(settingsFilename)===settingsFilename) {
|
||||||
settingsFilename = path.resolve(settingsFilename);
|
settingsFilename = path.resolve(settingsFilename);
|
||||||
else
|
} else {
|
||||||
settingsFilename = path.resolve(path.join(exports.root, settingsFilename));
|
settingsFilename = path.resolve(path.join(exports.root, settingsFilename));
|
||||||
|
}
|
||||||
|
|
||||||
var settingsStr;
|
var settingsStr;
|
||||||
try{
|
try{
|
||||||
|
|
Loading…
Reference in New Issue