We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5a0168 commit 31477afCopy full SHA for 31477af
packages/@aws-cdk/aws-scheduler-targets-alpha/lib/util.ts
@@ -4,7 +4,7 @@ import { Token, TokenComparison } from 'aws-cdk-lib';
4
* Whether two string probably contain the same environment dimension (region or account)
5
*
6
* 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").
+ * are unresolved (in which case both are expected to be "current region" or "current account").
8
*/
9
export function sameEnvDimension(dim1: string, dim2: string) {
10
return [TokenComparison.SAME, TokenComparison.BOTH_UNRESOLVED].includes(Token.compareStrings(dim1, dim2));
0 commit comments