mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix 'cannot set property boolean of undefined'
This commit is contained in:
parent
ae02cf8d71
commit
de9ee37b42
@ -18,7 +18,7 @@ var RED = require(process.env.NODE_RED_HOME+"/red/red");
|
||||
var util = require("util");
|
||||
var parseString = require('xml2js').parseString;
|
||||
var useColors = true;
|
||||
util.inspect.styles.boolean = "red";
|
||||
//util.inspect.styles.boolean = "red";
|
||||
|
||||
function Xml2jsNode(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
|
@ -21,7 +21,7 @@ var events = require("events");
|
||||
var debuglength = RED.settings.debugMaxLength||1000;
|
||||
var useColors = false;
|
||||
|
||||
util.inspect.styles.boolean = "red";
|
||||
// util.inspect.styles.boolean = "red";
|
||||
|
||||
function DebugNode(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
|
Loading…
Reference in New Issue
Block a user