jcbantuelle/dominion-meteor

View on GitHub
app/cards/empires/landmarks/mountain_pass.js

Summary

Maintainability
A
1 hr
Test Coverage

Function between_turn_event has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  between_turn_event(game, player_cards, mountain_pass) {
    game.log.push(`Bidding on ${CardView.render(mountain_pass)}`)
    GameModel.update(game._id, game)

    game.mountain_pass = {
Severity: Minor
Found in app/cards/empires/landmarks/mountain_pass.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status