xml export fix

This commit is contained in:
Jan Prochazka 2022-03-10 10:23:18 +01:00
parent 8c3708fc8c
commit c26bc6d0e9

View File

@ -47,6 +47,10 @@ class StringifyStream extends stream.Transform {
}
_transform(chunk, encoding, done) {
if (chunk.__isStreamHeader) {
done();
return;
}
this.startElement(this.itemElementName);
this.push('\n');
for (const key of Object.keys(chunk)) {