timhaley94/holdem

View on GitHub
server/src/domain/hand/index.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function tieIndexes has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function tieIndexes(shape) {
  const { indexes } = shape.reduce(
    (acc, val, i) => {
      if (i < shape.length - 1) {
        return {
Severity: Minor
Found in server/src/domain/hand/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status