mirror of https://github.com/node-red/node-red.git
Merge pull request #3524 from Steve-Mcl/hadnle-status-typo
correct "non string" check parenthesispull/3526/head
commit
0aa80d82d9
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue