mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Switch JSONata expr does not require msg.parts.count
This commit is contained in:
parent
f01866d76f
commit
362554ad3b
@ -253,7 +253,7 @@ module.exports = function(RED) {
|
||||
|
||||
for (var i=0; i<this.rules.length; i+=1) {
|
||||
var rule = this.rules[i];
|
||||
needsCount = needsCount || ((rule.t === "tail") || (rule.t === "jsonata_exp"));
|
||||
needsCount = needsCount || ((rule.t === "tail"));
|
||||
if (!rule.vt) {
|
||||
if (!isNaN(Number(rule.v))) {
|
||||
rule.vt = 'num';
|
||||
|
Loading…
Reference in New Issue
Block a user