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:
parent
c0d007ffa9
commit
7a5604697f
2
packages/node_modules/node-red/red.js
vendored
2
packages/node_modules/node-red/red.js
vendored
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user