conventional-changelog / commitlint

📓 Lint commit messages

Home Page:https://commitlint.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

commitlint --edit does not change commit message once you enter a invalid commit message

alpzaf opened this issue · comments

Steps to Reproduce

When you command git commit -m "updates foo" it fails as expected but when you try to fix commit message like "fix: update foo" it gives also an error but with old commit message like "updates foo"

Current Behavior

image

Expected Behavior

So it must change the input with new one.

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

No response

Context

No response

commitlint --version

@commitlint/cli: 19.2.1

git --version

v2.32.1 (Apple Git-133)

node --version

v20.9.0