Skip to content

Add (y/N) input checks #62

@rchtgpt

Description

@rchtgpt

Describe the bug
Entering anything other than y/Y and n/N should not be considered correct.

To Reproduce
Steps to reproduce the behavior:

  1. Run gtg config
  2. Choose any commit title
  3. Enter anything expect y and N in Would you be using emojis in your commit messages?(y/n)
  4. It will consider it as N.

Expected behavior
Should instead ask the question again.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: macOS Big Sur 11.0.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions