Commit 3f1c02d
Jerry Kindall
fix(init): Python init template's stack ID doesn't match other languages (#13480)
In other languages, if you create a directory `hello-cdk`, do `cdk init`, and then `cdk ls`, you get `HelloCdkStack`. In Python you get `hello-cdk`. Change the Python init template to match the other languages.
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*1 parent 9910f77 commit 3f1c02d
File tree
2 files changed
+3
-3
lines changed- packages/aws-cdk/lib/init-templates
- v1/app/python
- v2/app/python
2 files changed
+3
-3
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
0 commit comments