-
-
Notifications
You must be signed in to change notification settings - Fork 301
fix: filter out comment messege when checking #462
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
fix: filter out comment messege when checking #462
Conversation
Codecov Report
@@ Coverage Diff @@ ## master #462 +/- ## ======================================= Coverage 97.96% 97.97% ======================================= Files 39 39 Lines 1424 1431 +7 ======================================= + Hits 1395 1402 +7 Misses 29 29
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yuukidach Thanks for your contribution! @woile I'm good with this feature. Could you please check? Thanks!
LGTM
Uh oh!
There was an error while loading. Please reload this page.
fix #455
Description
Currently
cz check
will also check comment in git commit message (mentioned in issue #455). This PR add a filter to remove those comment lines in git commit message.Checklist
./script/format
and./script/test
locally to ensure this change passes linter check and testExpected behavior
Comment in git commit message will be ignored.
Steps to Test This Pull Request
cz check --commit-msg-file <just_created_file>
Additional context