Merge branch 'master' into repackage

This commit is contained in:
Nick O'Leary
2018-08-16 20:43:15 +01:00
8 changed files with 61 additions and 15 deletions

View File

@@ -283,6 +283,9 @@ module.exports = function(RED) {
}
}
function applyRules(msg, currentRule) {
if (currentRule >= node.rules.length) {
return Promise.resolve(msg);
}
var r = node.rules[currentRule];
var rulePromise;
if (r.t === "move") {