XYOracleNetwork/sdk-diviner-nodejs

View on GitHub
src/payment/repository/dynammodb/table.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function createTableIfNeeded has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private async createTableIfNeeded() {
    return new Promise((resolve, reject) => {
      try {
        this.dynamodb.listTables(async (listErr, listData) => {
          if (listErr) {
Severity: Minor
Found in src/payment/repository/dynammodb/table.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status