Skip to content

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

Open
ShakyaCsun wants to merge 2 commits intoS-ecki:mainfrom
ShakyaCsun:feat/prompt-overwrite
Open

feat: ask user before overwriting pre-existing source files#19
ShakyaCsun wants to merge 2 commits intoS-ecki:mainfrom
ShakyaCsun:feat/prompt-overwrite

Conversation

@ShakyaCsun
Copy link
Copy Markdown
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