Remove unused variable declaration in Change node

This commit is contained in:
Nick O'Leary 2019-01-07 14:59:59 +00:00
parent 98e391b867
commit 34b6643913
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 0 additions and 1 deletions

View File

@ -304,7 +304,6 @@ module.exports = function(RED) {
return done(undefined,msg);
}
var r = node.rules[currentRule];
var rulePromise;
if (r.t === "move") {
if ((r.tot !== r.pt) || (r.p.indexOf(r.to) !== -1)) {
applyRule(msg,{t:"set", p:r.to, pt:r.tot, to:r.p, tot:r.pt},(err,msg) => {