Skip to content

Commit

Permalink
Fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
UniqueClone committed Jan 3, 2024
1 parent 373aec7 commit 1566b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pdf-generator/GeneratorUtils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const validateGoals = (goals: string[]) => {
if (!goals || !goals.length || goals.length != 16) {
if (!goals || !goals.length || goals.length !== 16) {
throw new Error('Invalid goals, received goals: ' + goals);
}
return goals;
Expand Down

0 comments on commit 1566b66

Please sign in to comment.