commitlint icon indicating copy to clipboard operation
commitlint copied to clipboard

fix(prompt): prompt does not respect [body-leading-blank] setting

Open weixinwu opened this issue 1 year ago • 2 comments

Description

My attempt to fix the prompt not respecting body-leading-blank setting issue in #3826 .

Types of changes

  • [X] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have added tests to cover my changes.
  • [X] All new and existing tests passed.

weixinwu avatar May 06 '24 03:05 weixinwu

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

codesandbox-ci[bot] avatar May 06 '24 03:05 codesandbox-ci[bot]

Any way to add add a test for this?: https://github.com/conventional-changelog/commitlint/blob/88cb735e96f05ad3a998356c95eb00527e54bb9f/%40commitlint/prompt/src/input.test.ts

escapedcat avatar May 06 '24 07:05 escapedcat

Thx @weixinwu !

escapedcat avatar May 09 '24 13:05 escapedcat