[ BREAKING BUG ] If user does not give a name for template, templa-rs breaks
Closed this issue · 0 comments
sanjaybaskaran01 commented
Describe the bug
If the user does not give a name for template then they will see the error:cannot pick working directory for non-bare repository that isn't a '.git' directory; class=Repository (6)
To Reproduce
Steps to reproduce the behavior:
- Go to templa-rs directory and try to execute the command
cargo run --
- Select any of the templates and hit enter
- You will see the error
cannot pick working directory for non-bare repository that isn't a '.git' directory; class=Repository (6)
Expected behavior
The name of the boilerplate-template should be used instead of the error