Update packages/node_modules/node-red/red.js

Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
Hiroyasu Nishiyama 2020-03-07 16:38:24 +09:00 committed by GitHub
parent c0d007ffa9
commit 7a5604697f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ if (parsedArgs.define) {
if (match) {
if (!match[4]) {
var val = JSON.parse(match[3]);
setProperty(settings, match[2], val);
RED.util.setObjectProperty(settings, match[2], val, true);
}
else {
var obj = fs.readJsonSync(match[4]);