mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #2584 from sammachin/sammachin-settings_set_fix
fix for settings.set subsequent updates
This commit is contained in:
commit
c6c42740c5
@ -87,7 +87,7 @@ var persistentSettings = {
|
||||
throw new Error(log._("settings.not-available"));
|
||||
}
|
||||
var current = globalSettings[prop];
|
||||
globalSettings[prop] = value;
|
||||
globalSettings[prop] = clone(value);
|
||||
try {
|
||||
assert.deepEqual(current,value);
|
||||
return when.resolve();
|
||||
|
Loading…
Reference in New Issue
Block a user