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

Stop writing an empty config file #363

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Conversation

macmv
Copy link
Contributor

@macmv macmv commented Sep 20, 2024

Ticket(s): ENG-6776

Right now, we do the following in fauna project init:

  • Write an empty config file
  • Read it back
  • Ask the user some questions
  • Write the real config file

This means if you press ctrl+c during those questions, you'll be left in a broken state, and you'll need to delete and re-create the .fauna-project file.

@echo-bravo-yahoo echo-bravo-yahoo merged commit 83d6e29 into main Oct 16, 2024
1 check passed
@echo-bravo-yahoo echo-bravo-yahoo deleted the dont-write-empty-config branch October 16, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants