Skip to content

Commit

Permalink
move it to mambo
Browse files Browse the repository at this point in the history
  • Loading branch information
av-alexistoledo committed Jan 19, 2024
1 parent 042be32 commit 3cb0a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/validators/selectionPileValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SelectionPileValidator {
if (this.referenceMissing(selectionPile.optionSelections)) errors.push('invalid_reference');
if (this.tooManySelections(selectionPile.optionSelections)) errors.push('too_many');
if (this.blankNotAlone(selectionPile.optionSelections, selectionPile.explicitBlank)) errors.push('blank');
if (this.exclusiveNotAlone(selectionPile.optionSelections) && !this.contest.customRulesets?.includes('belgian_ballot_rules')) errors.push('exclusive');
if (this.exclusiveNotAlone(selectionPile.optionSelections)) errors.push('exclusive');

return errors;
}
Expand Down

0 comments on commit 3cb0a3e

Please sign in to comment.