Skip to content

Commit

Permalink
fix change message
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Apr 29, 2021
1 parent 8b48f3f commit 25a5fe1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"deps": "yarn upgrade-interactive --latest",
"lib": "cross-env TIMING=1 eslint lib",
"lint": "npm run build && cd tsExample && npm run lint",
"prepublishOnly": "npm run build && npm test && np --no-cleanup --yolo --no-publish --any-branch",
"prettier": "prettier -c --write \"**/*\"",
"testTS": "npm run build && cd tsExample && npm run lint",
"testJS": "npm run build && cd jsExample && npm run lint",
Expand Down
2 changes: 1 addition & 1 deletion src/verifyCommit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (!commitRE.test(msg)) {
if (locale === 'zh-CN') {
console.error(
` ${chalk.bgRed.white(' ERROR ')} ${chalk.red(`提交日志不符合规范`)}\n\n${chalk.red(
` 合法的提交日志格式如下:\n\n`,
` 合法的提交日志格式如下(emoji 和 模块可选填):\n\n`,
)}
${chalk.green(`💥 feat(模块): 添加了个很棒的功能`)}\n
${chalk.green(`🐛 fix(模块): 修复了一些 bug`)}\n
Expand Down

0 comments on commit 25a5fe1

Please sign in to comment.