Closed
Description
Expected Behavior
- leave the
body
field empty. - check the
breaking changes
(y) option - inform the body after
breakingBody
message be displayed body
text be added to commit message
Current Behavior
- body message not being added to commit message when it's inserted after
breakingBody
prompt
Affected packages
- cli
- core
- prompt
- config-angular
Possible Solution
Steps to Reproduce (for bugs)
git commit
- select type
- select scope
- add short description
- leave the body (long description) empty, press .
- insert
y
when prompt ask if there are breaking changes breakingBody
message is displayed- insert body (long commit description)
- follow to the end of the process
- default commit message editor is opened to confirm the commit message
- Note that the body field will be empty.
commitlint.config.js
```js ```Context
Your Environment
Executable | Version |
---|---|
commitlint --version |
13.2.1 |
git --version |
2.30.1 (Apple Git-130) |
node --version |
12.18.3 |