Browse Source

fix codestyle

pull/5/head
rozetko 2 years ago
parent
commit
41128d8f53
  1. 8
      src/services/exporter.ts

8
src/services/exporter.ts

@ -80,11 +80,7 @@ export class Exporter {
} }
if(columns.length > 0) { if(columns.length > 0) {
console.log('values', values); this._writeCsv(stream, { columns, values, });
this._writeCsv(stream, {
columns,
values,
});
} }
await this._updateProgress({ status: ExportStatus.EXPORTING, progress: (day + 1) / days }); await this._updateProgress({ status: ExportStatus.EXPORTING, progress: (day + 1) / days });
@ -110,7 +106,7 @@ export class Exporter {
} else { } else {
console.log(`${this._getFilename('csv')} export is finished with error`); console.log(`${this._getFilename('csv')} export is finished with error`);
} }
}) });
return csvStream; return csvStream;
} }

Loading…
Cancel
Save