Expected Behavior
Empty longer description.
Current Behavior
"longer description" is always "-"
Affected packages
Possible Solution
restore this
|
const commitBody = body || breakingBody || issuesBody || '-'; |
to this
|
const commitBody = body ?? breakingBody ?? issuesBody ?? '-'; |
Tested
Steps to Reproduce (for bugs)
- clone https://github.com/TrigenSoftware/scripts
- pnpm i
- pnpm commit -- --allow-empty
- "longer description" is "-"
Your Environment
Issue appeared in @commitlint/[email protected]
Expected Behavior
Empty longer description.
Current Behavior
"longer description" is always "-"
Affected packages
Possible Solution
restore this
commitlint/@commitlint/cz-commitlint/src/SectionBody.ts
Line 22 in a038b41
to this
commitlint/@commitlint/cz-commitlint/src/SectionBody.ts
Line 22 in c77381d
Tested
Steps to Reproduce (for bugs)
Your Environment
Issue appeared in @commitlint/[email protected]