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:
parent
24bd20ab21
commit
a84658661d
@ -380,8 +380,8 @@ module.exports = function(RED) {
|
|||||||
for (var z=0; z<d.length; z++) {
|
for (var z=0; z<d.length; z++) {
|
||||||
var c = d[z];
|
var c = d[z];
|
||||||
if (c === waitfor) { active = true; }
|
if (c === waitfor) { active = true; }
|
||||||
// handle the trivial case first -- single char buffer
|
|
||||||
if (!active) { continue; }
|
if (!active) { continue; }
|
||||||
|
// handle the trivial case first -- single char buffer
|
||||||
if ((newline === 0)||(newline === "")) {
|
if ((newline === 0)||(newline === "")) {
|
||||||
emitData(new Buffer.from([c]));
|
emitData(new Buffer.from([c]));
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user