diff --git a/src/verifyCommit.ts b/src/verifyCommit.ts index 5cf9316..53580d5 100644 --- a/src/verifyCommit.ts +++ b/src/verifyCommit.ts @@ -24,7 +24,9 @@ if (!commitRE.test(msg)) { ${chalk.green(`🌷 UI(模块): 修改了一下样式`)} ${chalk.green(`🏰 chore(模块): 对脚手架做了些更改`)} ${chalk.green(`🌐 locale(模块): 为国际化做了微小的贡献\n`)} - ${chalk.green(`其他提交类型: refactor, perf, workflow, build, CI, typos, tests, types, wip, release, dep\n`)} + ${chalk.green( + `其他提交类型: refactor, perf, workflow, build, CI, typos, tests, types, wip, release, dep\n`, + )} ${chalk.red(`See .github/commit-convention.md for more details.\n`)}`, ); } else { @@ -41,7 +43,9 @@ if (!commitRE.test(msg)) { ${chalk.green(`🌷 UI(compiler): better styles`)} ${chalk.green(`🏰 chore(compiler): Made some changes to the scaffolding`)} ${chalk.green(`🌐 locale(compiler): Made a small contribution to internationalization\n`)} - ${chalk.green(`Other commit types: refactor, perf, workflow, build, CI, typos, tests, types, wip, release, dep\n`)} + ${chalk.green( + `Other commit types: refactor, perf, workflow, build, CI, typos, tests, types, wip, release, dep\n`, + )} ${chalk.red(`See .github/commit-convention.md for more details.\n`)}`, ); }