rabobank-blockchain/universal-ledger-agent

View on GitHub
src/model/attestation.ts

Summary

Maintainability
A
0 mins
Test Coverage

Consider simplifying this complex logical expression.
Wontfix

    if (!attestation.attestorPubKey || !attestation.context || attestation.context.length === 0
      || attestation.type.length === 0 || !attestation.statements || attestation.statements.length === 0) {
      throw new ReferenceError('One or more fields are empty')
    }
Severity: Major
Found in src/model/attestation.ts - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status