mirror of https://github.com/node-red/node-red.git
fix debug status reporting if null
parent
aa1d5ad06b
commit
1acc16c9ef
|
@ -148,7 +148,7 @@ module.exports = function(RED) {
|
||||||
var st = (typeof output === 'string') ? output : util.inspect(output);
|
var st = (typeof output === 'string') ? output : util.inspect(output);
|
||||||
var fill = "grey";
|
var fill = "grey";
|
||||||
var shape = "dot";
|
var shape = "dot";
|
||||||
if (typeof output === 'object' && hasOwnProperty.call(output, "fill") && hasOwnProperty.call(output, "shape") && hasOwnProperty.call(output, "text")) {
|
if (typeof output === 'object' && output?.fill && output?.shape && output?.text) {
|
||||||
fill = output.fill;
|
fill = output.fill;
|
||||||
shape = output.shape;
|
shape = output.shape;
|
||||||
st = output.text;
|
st = output.text;
|
||||||
|
|
Loading…
Reference in New Issue