diff --git a/package.json b/package.json index d542134..a55f0f7 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/verifyCommit.ts b/src/verifyCommit.ts index 90c06be..b676dbe 100644 --- a/src/verifyCommit.ts +++ b/src/verifyCommit.ts @@ -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