Skip to content

commit-check does not support ! (breaking change) #301

@shenxianpeng

Description

@shenxianpeng

describe your issue

echo "feat!: update authentication system" | commit-check -m
Commit rejected by Commit-Check.                                  
                                                                  
  (c).-.(c)    (c).-.(c)    (c).-.(c)    (c).-.(c)    (c).-.(c)  
   / ._. \      / ._. \      / ._. \      / ._. \      / ._. \   
 __\( C )/__  __\( H )/__  __\( E )/__  __\( C )/__  __\( K )/__ 
(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)
   || E ||      || R ||      || R ||      || O ||      || R ||   
 _.' '-' '._  _.' '-' '._  _.' '-' '._  _.' '-' '._  _.' '-' '._ 
(.-./`\.-.)(.-./`\.-.)(.-./`\.-.)(.-./`\.-.)(.-./`\.-.)
 ``````````
                                                                  
Commit rejected.                                                  
                                                                  
Type imperative check failed ==> feat!: update authentication system 
It doesn't match regex: 
Commit message should use imperative mood (e.g., 'Add feature' not 'Added feature')
Suggest: Use imperative mood in the subject line 

commit-check version

No response

commit-check.toml or cchk.toml

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions