Skip to content

Commit

Permalink
Note future reduction of complexity opportunity.
Browse files Browse the repository at this point in the history
  • Loading branch information
zorn committed Sep 8, 2024
1 parent a12fe89 commit 79b1aa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/flick/ranked_voting/vote.ex
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ defmodule Flick.RankedVoting.Vote do
changeset
end

# FIXME: Refactor to reduce complexity.
# credo:disable-for-next-line Credo.Check.Refactor.ABCSize
defp validate_first_ranked_answers_has_valid_value(%Changeset{changes: changes} = changeset)
when is_map_key(changes, :ranked_answers) do
ranked_answer_changesets =
Expand Down

0 comments on commit 79b1aa4

Please sign in to comment.