Commit fa21e62
authored
fix(lambda): fix typo in addPermission() warning message (#37365)
### Reason for this change
The warning message displayed by `addPermission()` when called on a Lambda Function with mismatched environments contains a typo: "this is is intentional" (duplicated "is").
### Description of changes
Fix `this is is intentional` → `this is intentional` in:
- `packages/aws-cdk-lib/aws-lambda/lib/function-base.ts` (source)
- `packages/aws-cdk-lib/aws-lambda/test/function.test.ts` (test assertion)
### Description of how you validated changes
Updated the corresponding test assertion to match the corrected message.
### 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)1 parent 69c8944 commit fa21e62
File tree
2 files changed
+2
-2
lines changed- packages/aws-cdk-lib/aws-lambda
- lib
- test
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
0 commit comments