Skip to content

feat: ask user before overwriting pre-existing source files #19

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ShakyaCsun
Copy link
Contributor

  • ask the user if they want to overwrite the solutions/dayXX.dart and test/dayXX_test.dart files; useful when a user might accidentally run day_generator for wrong day like me yesterday.
  • also properly closes HttpClient, so no more waiting even after "All set, Good luck!" message is printed to console

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.

1 participant