Skip to content

Commit

Permalink
Changed == to ===
Browse files Browse the repository at this point in the history
  • Loading branch information
iankhou committed Jan 23, 2025
1 parent 0b7649e commit fe0d832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-sqs/lib/validate-queue-props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const redriveValidationRules: ValidationRule<RedriveAllowPolicy>[] = [
},
{
condition: ({ redrivePermission, sourceQueues }) =>
!!((redrivePermission == RedrivePermission.ALLOW_ALL || redrivePermission == RedrivePermission.DENY_ALL) && sourceQueues),
!!((redrivePermission === RedrivePermission.ALLOW_ALL || redrivePermission === RedrivePermission.DENY_ALL) && sourceQueues),
message: () => 'sourceQueues cannot be configured when RedrivePermission is set to \'allowAll\' or \'denyAll\'',
},
];
Expand Down

0 comments on commit fe0d832

Please sign in to comment.