Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quotations around commit message breaks commitlint #624

Closed
deefactorial opened this issue Jul 15, 2020 · 1 comment
Closed

Quotations around commit message breaks commitlint #624

deefactorial opened this issue Jul 15, 2020 · 1 comment
Labels

Comments

@deefactorial
Copy link

deefactorial commented Jul 15, 2020

Describe the bug

husky > commit-msg (node v12.16.1)
⧗   input: "chore(release): 2.28.0"
✖   subject may not be empty [subject-empty]
✖   type may not be empty [type-empty]
✖   found 2 problems, 0 warnings
ⓘ   Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
husky > commit-msg hook failed (add --no-verify to bypass)
Command failed: git commit CHANGELOG.md package.json -m "chore(release): 2.28.0"
husky > commit-msg (node v12.16.1)
⧗   input: "chore(release): 2.28.0"
✖   subject may not be empty [subject-empty]
✖   type may not be empty [type-empty]
✖   found 2 problems, 0 warnings
ⓘ   Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
husky > commit-msg hook failed (add --no-verify to bypass)
error Command failed with exit code 1.

Current behavior
When standard-version does a release it adds quotations around the commit message which breaks commitlint

Expected behavior
There shouldn't be quotations around the commit message.

Environment

  • standard-version version(s): 8.0.1
  • Node/npm version: v12.16.1
  • OS: ubuntu 18.04.4 LTS

Possible Solution
Remove the quotation marks in the commit message

Additional context
Happened on upgrade from standard-version: 7.1.0 to 8.0.1

relates to #623

@deefactorial
Copy link
Author

closing as a duplicate of #621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant