Skip to content

fix: issue where starter kit can only be run once #30

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

Merged
merged 2 commits into from
Feb 8, 2023

Conversation

mcorrello
Copy link
Contributor

Changes:

  • Fixes issue where starter kit can only be run once. More information is inside issue #29.
  • Also checks if project name exists already in the current directory. If it does, stop running the starter kit with an error. Previously it was erroring out since the directory already existed.

Issue causing #29:
The cli file renames gitignore to .gitignore inside of /starter-kit. When the kit is run more than once, that file has already been renamed so it errors out.

Fix:
Check if gitignore exists without the dot. If it doesn't, don't rename the file since it doesn't need it.

@mcorrello mcorrello merged commit 3f69af0 into master Feb 8, 2023
@mcorrello mcorrello deleted the feat/run-kit-multiple-times branch February 8, 2023 20:26
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