Asymmetrik/node-rest-starter

View on GitHub
src/app/common/csv-stream.service.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function streamToCsv has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    streamToCsv(columns: ExportColumnDef[]): Transform {
        // Create a stream to turn Mongo records into CSV rows
        const stream = through2.obj((chunk, enc, callback) => {
            const row = [];

Severity: Minor
Found in src/app/common/csv-stream.service.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status