Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix spelling error of if #31353

Merged
merged 1 commit into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cloudformation-diff/lib/diff-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function calculateTemplateDiff(currentTemplate: { [key: string]: any }, newTempl
/**
* Replace all references to the given logicalID on the given template, in-place
*
* Returns true iff any references were replaced.
* Returns true if any references were replaced.
*/
function propagateReplacedReferences(template: object, logicalId: string): boolean {
let ret = false;
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-ec2/lib/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export interface InstanceProps {
* UserData, which will cause CloudFormation to replace it if the UserData
* changes.
*
* @default - true iff `initOptions` is specified, false otherwise.
* @default - true if `initOptions` is specified, false otherwise.
*/
readonly userDataCausesReplacement?: boolean;

Expand Down
4 changes: 2 additions & 2 deletions packages/aws-cdk/lib/notices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export class NoticeFilter {
}

/**
* Returns true iff we should show this notice.
* Returns true if we should show this notice.
*/
apply(notice: Notice): boolean {
if (this.acknowledgedIssueNumbers.has(notice.issueNumber)) {
Expand All @@ -267,7 +267,7 @@ export class NoticeFilter {
}

/**
* Returns true iff we should show the notice.
* Returns true if we should show the notice.
*/
private applyVersion(notice: Notice, name: string, compareToVersion: string | undefined) {
if (compareToVersion === undefined) { return false; }
Expand Down
Loading