Skip to content

Commit

Permalink
docs(scheduler-targets-alpha): fix typos (#32916)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

None

### Reason for this change

Fixed typos in code 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*
  • Loading branch information
andyu17 authored Jan 15, 2025
1 parent a5a0168 commit 31477af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-scheduler-targets-alpha/lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Token, TokenComparison } from 'aws-cdk-lib';
* Whether two string probably contain the same environment dimension (region or account)
*
* Used to compare either accounts or regions, and also returns true if both
* are unresolved (in which case both are expted to be "current region" or "current account").
* are unresolved (in which case both are expected to be "current region" or "current account").
*/
export function sameEnvDimension(dim1: string, dim2: string) {
return [TokenComparison.SAME, TokenComparison.BOTH_UNRESOLVED].includes(Token.compareStrings(dim1, dim2));
Expand Down

0 comments on commit 31477af

Please sign in to comment.