1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

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) => {