Skip to content

docs(assertions): fix "an warning" to "a warning" in JSDoc comments#37423

Open
syukawa-gh wants to merge 1 commit intoaws:mainfrom
syukawa-gh:docs/fix-an-warning-grammar
Open

docs(assertions): fix "an warning" to "a warning" in JSDoc comments#37423
syukawa-gh wants to merge 1 commit intoaws:mainfrom
syukawa-gh:docs/fix-an-warning-grammar

Conversation

@syukawa-gh
Copy link
Copy Markdown
Contributor

Reason for this change

Fix grammatical error in JSDoc comments.

Description of changes

"warning" starts with a consonant sound /w/, so the correct indefinite article is "a" (not "an").

Fixed 2 occurrences in packages/aws-cdk-lib/assertions/lib/annotations.ts:

  • Assert that an warning with the given message existsAssert that a warning...
  • Assert that an warning with the given message does not existAssert that a warning...

Description of how you validated changes

Documentation-only change (JSDoc comments). No functional impact.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

"warning" starts with a consonant sound /w/, so the correct
indefinite article is "a" (not "an").
@github-actions github-actions bot added the p2 label Mar 31, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team March 31, 2026 08:54
@github-actions github-actions bot added the admired-contributor [Pilot] contributed between 13-24 PRs to the CDK label Mar 31, 2026
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

admired-contributor [Pilot] contributed between 13-24 PRs to the CDK p2 pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants