jcbantuelle/dominion-meteor

View on GitHub
app/cards/prosperity/forge.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  static trash_cards(game, player_cards, selected_cards) {
    let cost = _.reduce(selected_cards, (total_cost, card) => {
      return total_cost + CostCalculator.calculate(game, card)
    }, 0)

Severity: Minor
Found in app/cards/prosperity/forge.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status