|
|
@ -109,7 +109,7 @@ export class Exporter { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private _initCsvStream() { |
|
|
|
private _initCsvStream() { |
|
|
|
const csvStream = csv.createWriteStream({ headers: true }) |
|
|
|
const csvStream = csv.createWriteStream({ headers: true, delimiter: this._task.csvDelimiter }) |
|
|
|
.on('error', async e => await this._updateProgress({ status: ExportStatus.ERROR, errorMessage: e.message })); |
|
|
|
.on('error', async e => await this._updateProgress({ status: ExportStatus.ERROR, errorMessage: e.message })); |
|
|
|
|
|
|
|
|
|
|
|
const writableStream = fs.createWriteStream(this._getFilePath('csv')); |
|
|
|
const writableStream = fs.createWriteStream(this._getFilePath('csv')); |
|
|
|