commitizen / commitizen/cz-conventional-changelog

`answers. breakingBody` and `answers. issuesBody` does not affect the commit message at all.

Open
#115 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
793
Forks
444
PR merge metrics
No merged PRs in 30d

Description

https://github.com/commitizen/cz-conventional-changelog/blob/e7bd5462966d00acb03aca394836b5427513681c/engine.js#L139-L154

`answers.breakingBody` does not affect the commit message at all.

https://github.com/commitizen/cz-conventional-changelog/blob/e7bd5462966d00acb03aca394836b5427513681c/engine.js#L207

I wrote breakingBody but found this doesn't make any sense. I read the code and I can't understand the meaning of this existence.

I find the issue https://github.com/commitizen/cz-conventional-changelog/issues/43 and https://github.com/commitizen/cz-conventional-changelog/pull/75.

Shouldn't the body be combined like this?

```javascript
var b = answers.body || answers.breakingBody || answers.issuesBody
var body = b ? wrap(b , wrapOptions) : false;
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.