Skip to content

Commit af1868c

Browse files
authored
chore(events-targets): correct typos in comments (#35954)
### Issue # (if applicable) N/A - Minor typo fixes ### Reason for this change Fixed typos in code comments that had duplicate words ("the the"). ### Description of changes Corrected two instances of "the the" to "the" in: - `packages/aws-cdk-lib/aws-events/lib/rule.ts` (line 225) - `packages/aws-cdk-lib/aws-events-targets/lib/log-group.ts` (line 40) ### Describe any new or updated permissions being added N/A - No permission changes ### Description of how you validated changes Manual review of the changes. No functional code was modified, only comments. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent b61923c commit af1868c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/aws-cdk-lib/aws-events-targets/lib/log-group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface LogGroupTargetInputOptions {
3737
*/
3838
export abstract class LogGroupTargetInput {
3939
/**
40-
* Pass a JSON object to the the log group event target
40+
* Pass a JSON object to the log group event target
4141
*
4242
* May contain strings returned by `EventField.from()` to substitute in parts of the
4343
* matched event.

packages/aws-cdk-lib/aws-events/lib/rule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export class Rule extends Resource implements IRule {
222222
// and trigger on it there (there will be issues with construct references, for example). Especially
223223
// in the case of scheduled events, we will just trigger both rules in parallel in both environments.
224224
//
225-
// A better solution would be to have the source rule add a unique token to the the event,
225+
// A better solution would be to have the source rule add a unique token to the event,
226226
// and have the mirror rule trigger on that token only (thereby properly separating triggering, which
227227
// happens in the source env; and activating, which happens in the target env).
228228
//

0 commit comments

Comments
 (0)