-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Closed
Copy link
Labels
bugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.p1package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Description
What is the problem?
.gitignore is missing after cdk init app --language=typescript in v2.14.0. It exists in v2.13.0.
This problems still exists in latest version (v2.17.0).
Reproduction Steps
# .gitignore is missing
npx aws-cdk@2.14 init app --generate-only --language=typescript
# .gitignore exists
npx aws-cdk@2.13 init app --generate-only --language=typescriptWhat did you expect to happen?
Initialize project with correctly.
What actually happened?
Since the.gitignore does not exist, node_modules are committed to git. To avoid this, it is necessary to copy the.gitignore generated by the previous version.
CDK CLI Version
2.14.0 (build 762d71b)
Framework Version
No response
Node.js Version
v16.3.0
OS
macOS Big Sur 11.6.4
Language
Typescript
Language Version
No response
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.p1package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI