trufflesuite/truffle

View on GitHub
packages/artifactor/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  async saveAll(artifactObjects: any | Array<object>) {
    let newArtifactObjects: any = {};

    if (Array.isArray(artifactObjects)) {
      const tmpArtifactArray = artifactObjects;
Severity: Minor
Found in packages/artifactor/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status