1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

View File

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