mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Tidy up code removal
This commit is contained in:
parent
b7306f7fa1
commit
53d9e3a542
@ -291,9 +291,6 @@ module.exports = function(RED) {
|
||||
}
|
||||
}
|
||||
else if (!msg.hasOwnProperty("reset")) {
|
||||
if (maxKeptMsgsCount(node) > 0 && !node.drop) {
|
||||
}
|
||||
else {
|
||||
if (node.allowrate && msg.hasOwnProperty("rate") && !isNaN(parseFloat(msg.rate))) {
|
||||
node.rate = msg.rate;
|
||||
}
|
||||
@ -312,7 +309,6 @@ module.exports = function(RED) {
|
||||
else if (node.outputs === 2) {
|
||||
send([null,msg])
|
||||
}
|
||||
}
|
||||
done();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user