Skip to content

Commit

Permalink
fix: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladyslav531 committed Jan 31, 2024
1 parent 9009157 commit f145801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/context.ts
Expand Up @@ -97,9 +97,9 @@ export class Context {
})
.filter(instance => {
if (options.includeOptionals === 'ignoreUndefined') {
return checks.every(check => check(instance.value)) && instance.value !== undefined
return checks.every(check => check(instance.value)) && instance.value !== undefined;
} else {
return checks.every(check => check(instance.value))
return checks.every(check => check(instance.value));
}
})
.valueOf();
Expand Down

0 comments on commit f145801

Please sign in to comment.