Skip to content

Commit 31477af

Browse files
authored
docs(scheduler-targets-alpha): fix typos (#32916)
### 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*
1 parent a5a0168 commit 31477af

File tree

1 file changed

+1
-1
lines changed
  • packages/@aws-cdk/aws-scheduler-targets-alpha/lib

1 file changed

+1
-1
lines changed

packages/@aws-cdk/aws-scheduler-targets-alpha/lib/util.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Token, TokenComparison } from 'aws-cdk-lib';
44
* Whether two string probably contain the same environment dimension (region or account)
55
*
66
* Used to compare either accounts or regions, and also returns true if both
7-
* are unresolved (in which case both are expted to be "current region" or "current account").
7+
* are unresolved (in which case both are expected to be "current region" or "current account").
88
*/
99
export function sameEnvDimension(dim1: string, dim2: string) {
1010
return [TokenComparison.SAME, TokenComparison.BOTH_UNRESOLVED].includes(Token.compareStrings(dim1, dim2));

0 commit comments

Comments
 (0)