Skip to content

Commit a68f7d7

Browse files
authored
chore(spec2cdk): assertTruthy error message typo (#26792)
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 66b16f3 commit a68f7d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/@aws-cdk/spec2cdk/lib/cdk/union-ordering.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function requiredPropertyNames(t: TypeDefinition): Set<string> {
114114

115115
function assertTruthy<T>(x: T): NonNullable<T> {
116116
if (x == null) {
117-
throw new Error('Expected truhty value');
117+
throw new Error('Expected truthy value');
118118
}
119119
return x;
120-
}
120+
}

0 commit comments

Comments
 (0)