diff --git a/utils/svrpasswd.js b/utils/svrpasswd.js index 2f9ba4e..2525cb1 100644 --- a/utils/svrpasswd.js +++ b/utils/svrpasswd.js @@ -275,7 +275,9 @@ if (configJSON.users != undefined) users = configJSON.users; function saveConfig() { let configJSONobj = {}; if (fs.existsSync(__dirname + "/config.json")) - configJSONobj = JSON.parse(fs.readFileSync(__dirname + "/config.json").toString()); + configJSONobj = JSON.parse( + fs.readFileSync(__dirname + "/config.json").toString(), + ); configJSONobj.users = users; const configString = JSON.stringify(configJSONobj, null, 2); fs.writeFileSync(__dirname + "/config.json", configString);