mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-02 05:33:59 +00:00
xml export fix
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user