Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 28, 2020. It is now read-only.

Commit 4e0de06

Browse files
fix: revert message 无法提交
原因: 某些版本的工具生成的 revert message 首字母大写 修改: 增加 type 关键字
1 parent ecc4011 commit 4e0de06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎validate_commit_msg/validate.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
'perf', # 提升性能(performance)
2222
'test', # 增加测试
2323
'chore', # 构建过程或辅助工具的变动'
24-
'revert' # 撤销以前的 commit
24+
'revert', # 撤销以前的 commit
25+
'Revert' # 有些版本的工具生成的revert message首字母大写
2526
]
2627

2728
# Error Enum

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /