From d69c983dfddfb1147a3c895a0b88913798b99c29 Mon Sep 17 00:00:00 2001 From: Shuto Yukawa Date: Tue, 31 Mar 2026 17:53:41 +0900 Subject: [PATCH] docs(assertions): fix "an warning" to "a warning" in JSDoc comments "warning" starts with a consonant sound /w/, so the correct indefinite article is "a" (not "an"). --- packages/aws-cdk-lib/assertions/lib/annotations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/assertions/lib/annotations.ts b/packages/aws-cdk-lib/assertions/lib/annotations.ts index 8763a1835565f..161be715c948f 100644 --- a/packages/aws-cdk-lib/assertions/lib/annotations.ts +++ b/packages/aws-cdk-lib/assertions/lib/annotations.ts @@ -61,7 +61,7 @@ export class Annotations { } /** - * Assert that an warning with the given message exists in the synthesized CDK `Stack`. + * Assert that a warning with the given message exists in the synthesized CDK `Stack`. * * @param constructPath the construct path to the warning, provide `'*'` to match all warnings in the template. * @param message the warning message as should be expected. This should be a string or Matcher object. @@ -74,7 +74,7 @@ export class Annotations { } /** - * Assert that an warning with the given message does not exist in the synthesized CDK `Stack`. + * Assert that a warning with the given message does not exist in the synthesized CDK `Stack`. * * @param constructPath the construct path to the warning, provide `'*'` to match all warnings in the template. * @param message the warning message as should be expected. This should be a string or Matcher object.