Skip to content

fix(cli): avoid linebreak in empty input#523

Merged
marionebl merged 1 commit intoconventional-changelog:masterfrom
escapedcat:fix/511_empty-message-output
Jan 27, 2019
Merged

fix(cli): avoid linebreak in empty input#523
marionebl merged 1 commit intoconventional-changelog:masterfrom
escapedcat:fix/511_empty-message-output

Conversation

@escapedcat
Copy link
Copy Markdown
Member

@escapedcat escapedcat commented Dec 17, 2018

Description

As discussed we can trim the empty input to invalidate an input which per default comes as \n.

Motivation and Context

#511

How Has This Been Tested?

I need help here. We have this test but I'm not sure what is being tested here. It worked before and still works...

Types of changes

  • 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.
  • All new and existing tests passed.

Comment thread @commitlint/cli/src/cli.js Outdated
@escapedcat escapedcat force-pushed the fix/511_empty-message-output branch from 6bd2de8 to b81c895 Compare December 19, 2018 16:59
Comment thread @commitlint/cli/src/cli.js Outdated
@escapedcat escapedcat force-pushed the fix/511_empty-message-output branch from b81c895 to d60b3a0 Compare January 2, 2019 17:01
@marionebl marionebl merged commit 3141882 into conventional-changelog:master Jan 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants