Fix not being able to remove networks from user config
This commit is contained in:
parent
2201e2b941
commit
ad3bdef542
@ -101,7 +101,7 @@ ClientManager.prototype.updateUser = function(name, opts) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
user = this.readUserConfig(name);
|
user = this.readUserConfig(name);
|
||||||
_.merge(user, opts);
|
_.assign(user, opts);
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
path,
|
path,
|
||||||
JSON.stringify(user, null, " ")
|
JSON.stringify(user, null, " ")
|
||||||
|
Loading…
Reference in New Issue
Block a user