Skip to content

Commit c26a205

Browse files
committed
🐛fix(feature): 修正提示
1 parent 4ec350d commit c26a205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command/git-commit-verify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const gitCommitVerify = async () => {
1313
/(?<type>[a-z]+)(\((?<scope>.+)\))?(?<breaking>!)?: (?<description>.+)/i;
1414
if (!REG_EXP.test(content)) {
1515
printError("Git 提交信息不符合 Angualr 规范~");
16-
printInfo("推荐: 运行 cg cm 生成提交信息");
16+
printInfo("推荐: 运行 `npx code-genius commit` 生成提交信息");
1717
process.exit(1);
1818
}
1919
};

0 commit comments

Comments
 (0)