Skip to content

Commit 44f6053

Browse files
committed
chore: fix duplicate word typos in alpha packages and custom resource handlers
Fix repeated words in comments: - "the the" → "the" (4 occurrences) - "an an" → "an" (1 occurrence)
1 parent fc59d21 commit 44f6053

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/@aws-cdk/app-staging-synthesizer-alpha/lib/staging-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export interface IStagingResourcesFactory {
8282
/**
8383
* Return an object that will manage staging resources for the given stack
8484
*
85-
* This is called whenever the the `AppStagingSynthesizer` binds to a specific
85+
* This is called whenever the `AppStagingSynthesizer` binds to a specific
8686
* stack, and allows selecting where the staging resources go.
8787
*
8888
* This method can choose to either create a new construct (perhaps a stack)

packages/@aws-cdk/custom-resource-handlers/lib/aws-route53/cross-account-zone-delegation-handler/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async function getHostedZoneIdByName(name: string, route53: Route53): Promise<st
106106
* By default, STS AssumeRole will call the STS endpoint for the same region
107107
* as the Lambda runs in. Normally, this is all good. However, when the AssumeRole
108108
* is used to assume a role in a different account A, the AssumeRole will fail if the
109-
* Lambda is executing in an an opt-in region R to which account A has not been opted in.
109+
* Lambda is executing in an opt-in region R to which account A has not been opted in.
110110
*
111111
* To solve this, we will always AssumeRole in the same region as the Route53 call will
112112
* resolve to.

packages/@aws-cdk/custom-resource-handlers/lib/core/cross-region-ssm-writer-handler/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function except(source: CrossRegionExports, filter: CrossRegionExports): CrossRe
157157
}
158158

159159
/**
160-
* Return items that exist in both the the old parameters and the new parameters,
160+
* Return items that exist in both the old parameters and the new parameters,
161161
* but have different values
162162
*
163163
* @param oldParams the exports that existed previous to this execution

packages/@aws-cdk/integ-tests-alpha/lib/assertions/api-call-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { WaiterStateMachineOptions } from './waiter-state-machine';
1111
export interface IApiCall extends IConstruct {
1212
/**
1313
* access the AssertionsProvider. This can be used to add additional IAM policies
14-
* the the provider role policy
14+
* the provider role policy
1515
*
1616
* @example
1717
* declare const apiCall: AwsApiCall;

packages/@aws-cdk/integ-tests-alpha/lib/assertions/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class AwsApiCall extends ApiCallBase {
5656
/**
5757
* access the AssertionsProvider for the waiter state machine.
5858
* This can be used to add additional IAM policies
59-
* the the provider role policy
59+
* the provider role policy
6060
*
6161
* @example
6262
* declare const apiCall: AwsApiCall;

0 commit comments

Comments
 (0)