Closed
Description
Expected Behavior
The type to be lowercase, the schema enforces this
Current Behavior
When using the prompt, the type is forced to uppercase:
Affected packages
- cli
- core
- prompt
- config-angular
Possible Solution
I guess the bug is somewhere in the prompt source code, unfortunately I don't have the time right now to debug further and send a PR 😢
Steps to Reproduce (for bugs)
- use:
"@commitlint/cli": "^5.0.1",
"@commitlint/config-angular": "^5.0.1",
"@commitlint/prompt": "^5.0.1",
- Run the commit prompt
- Try and type a
type
and it'll be forced to uppercase
Context
Seems to just be a v5 bug, v4 works perfectly.
Your Environment
Executable | Version |
---|---|
commitlint --version |
5.0.1 |
git --version |
2.15.0 |
node --version |
v8.9.0 |