Skip to content

Commit e5459ee

Browse files
committed
chore: restore empty filter
1 parent 57b1091 commit e5459ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webapp/src/api/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class NdJsonParserStream extends TransformStream<string, JSON> {
8383
controller = _controller;
8484
},
8585
transform: (chunk) => {
86-
const jsonChunks = chunk.split('\n');
86+
const jsonChunks = chunk.split('\n').filter(Boolean);
8787
for (const jsonChunk of jsonChunks) {
8888
try {
8989
this.buffer += jsonChunk;

0 commit comments

Comments
 (0)