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

fix comment

This commit is contained in:
Dave Conway-Jones 2020-06-15 15:31:44 +01:00
parent 24bd20ab21
commit a84658661d
No known key found for this signature in database
GPG Key ID: 302A6725C594817F

View File

@ -380,8 +380,8 @@ module.exports = function(RED) {
for (var z=0; z<d.length; z++) {
var c = d[z];
if (c === waitfor) { active = true; }
// handle the trivial case first -- single char buffer
if (!active) { continue; }
// handle the trivial case first -- single char buffer
if ((newline === 0)||(newline === "")) {
emitData(new Buffer.from([c]));
continue;