Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): don't create config.json files if none was present before #1054

Merged
merged 1 commit into from
Sep 21, 2021

Conversation

DanielMSchmidt
Copy link
Contributor

When running cdktf in a directory without a cdktf.json it would create one in an effort to create a project id, leaving stray files around when doing convert or init. This PR makes it only write to the cdktf.json if there was one detected

@DanielMSchmidt DanielMSchmidt force-pushed the telemtry-cdktf-json-creation branch from e209bef to 5e515ae Compare September 21, 2021 12:43
@ansgarm ansgarm merged commit 7d6513e into main Sep 21, 2021
@ansgarm ansgarm deleted the telemtry-cdktf-json-creation branch September 21, 2021 13:10
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2022

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants