graycoreio/daffodil

View on GitHub
tools/dgeni/src/processors/convertToJson.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function $process has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  $process(docs: Document[]) {
    const docTypes = this.docTypes;
    docs.forEach((doc) => {
      if (docTypes.includes(doc.docType)) {
        const contents = doc.renderedContent || '';
Severity: Minor
Found in tools/dgeni/src/processors/convertToJson.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status