Skip to content

Commit

Permalink
fix: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladyslav531 committed Feb 16, 2024
1 parent 8622b7d commit d23f82e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/context.ts
Original file line number Diff line number Diff line change
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 d23f82e

Please sign in to comment.