mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
xml export fix
This commit is contained in:
parent
8c3708fc8c
commit
c26bc6d0e9
@ -47,6 +47,10 @@ class StringifyStream extends stream.Transform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_transform(chunk, encoding, done) {
|
_transform(chunk, encoding, done) {
|
||||||
|
if (chunk.__isStreamHeader) {
|
||||||
|
done();
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.startElement(this.itemElementName);
|
this.startElement(this.itemElementName);
|
||||||
this.push('\n');
|
this.push('\n');
|
||||||
for (const key of Object.keys(chunk)) {
|
for (const key of Object.keys(chunk)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user