mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Misc tidy ups of jsHint "issues" for some node-red-nodes
This commit is contained in:
@@ -35,10 +35,10 @@ module.exports = function(RED) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
var l = JSON.stringify(msg.payload).length;
|
||||
var le = JSON.stringify(msg.payload).length;
|
||||
msg.payload = msgpack.encode(msg.payload);
|
||||
node.send(msg);
|
||||
node.status({text:l +" o->b "+ msg.payload.length});
|
||||
node.status({text:le +" o->b "+ msg.payload.length});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user