Compare commits
No commits in common. "1bc52b0a37cc26ddeeddb0675a962199ab1a38f5" and "b1942b89cb23c7002e407f370487a746c3e2643d" have entirely different histories.
1bc52b0a37
...
b1942b89cb
@ -47,12 +47,6 @@ class PacketStreamFactory extends Transform{
|
|||||||
}
|
}
|
||||||
|
|
||||||
_transform(chunk, encoding, next){
|
_transform(chunk, encoding, next){
|
||||||
if(!chunk){
|
|
||||||
const err = "Chunk was invalid!";
|
|
||||||
logger.error(err);
|
|
||||||
next(err);
|
|
||||||
}
|
|
||||||
|
|
||||||
let packet = new Packet();
|
let packet = new Packet();
|
||||||
|
|
||||||
const lines = chunk.split("\n");
|
const lines = chunk.split("\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user