knsv/mermaid

View on GitHub
packages/mermaid/src/diagram-api/diagram-orchestration.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function addDiagrams has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const addDiagrams = () => {
  if (hasLoadedDiagrams) {
    return;
  }
  // This is added here to avoid race-conditions.
Severity: Major
Found in packages/mermaid/src/diagram-api/diagram-orchestration.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status