From 21a0b3364525f0368ea03685b3b6aaf9ce26ec95 Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Mon, 11 Apr 2022 13:57:26 +0100 Subject: [PATCH] correct "non string" check parenthesis fixes #3493 --- packages/node_modules/@node-red/runtime/lib/flows/Flow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/runtime/lib/flows/Flow.js b/packages/node_modules/@node-red/runtime/lib/flows/Flow.js index eaf122fd8..b5685d3ec 100644 --- a/packages/node_modules/@node-red/runtime/lib/flows/Flow.js +++ b/packages/node_modules/@node-red/runtime/lib/flows/Flow.js @@ -582,7 +582,7 @@ class Flow { reportingNode = node; } if (!muteStatusEvent) { - if (statusMessage.hasOwnProperty("text") && typeof(statusMessage.text !== "string")) { + if (statusMessage.hasOwnProperty("text") && typeof statusMessage.text !== "string") { try { statusMessage.text = statusMessage.text.toString(); }