Skip to content

Commit

Permalink
fix: fix logging
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Guimaraes <[email protected]>
  • Loading branch information
gabrielg2020 committed Nov 12, 2024
1 parent 0dd54bc commit cfc0357
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/service/move_service/move_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ func getPawnMove(piece int, fromY int, fromX int, chessboard entity.ChessboardEn
if fromY == startRank && isSquareEmpty {
// Don't check if it can promote because a pawn can never promote off first move
// Create move
logger.Log.Debugf("getPawnMove: move added. moves array now contains %v move/s", len(moves))
addMove(fromX, fromY, toX, toY, 0, false, true, 0, &moves)
}
}
Expand Down

0 comments on commit cfc0357

Please sign in to comment.