Skip to content

Commit d5a93db

Browse files
committed
remove nullish operator
1 parent 033f3ac commit d5a93db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/integrations/zoderrors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export function applyZodErrorsToEvent(
206206
}
207207

208208
const _zodErrorsIntegration = ((options: ZodErrorsOptions = {}) => {
209-
const limit = options.limit ?? DEFAULT_LIMIT;
209+
const limit = typeof options.limit === 'undefined' ? DEFAULT_LIMIT : options.limit;
210210

211211
return {
212212
name: INTEGRATION_NAME,

0 commit comments

Comments
 (0)