Skip to content

Commit 5ca7181

Browse files
committed
fix
1 parent fa01831 commit 5ca7181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/jsonl-stream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class JsonlStream extends Writable {
3030
buffer = buffer.substring(newlineIndex + 1);
3131

3232
const json = safeJsonParse(line);
33-
if (json !== null) {
33+
if (json !== undefined) {
3434
this.emit("json", json);
3535
}
3636

0 commit comments

Comments
 (0)