MCPcopy Create free account
hub / github.com/142vip/408CSFamily / verifyCommitMain

Function verifyCommitMain

scripts/core/verify-commit.ts:7–13  ·  view source on GitHub ↗

* 验证Git Commit信息

()

Source from the content-addressed store, hash-verified

5 * 验证Git Commit信息
6 */
7function verifyCommitMain(): void {
8 const { type, scope, subject, commit } = commitLiner()
9
10 // 提交符合规范,打印相关信息
11 VipConsole.log(`type: ${type}, scope: ${scope}, subject: ${subject}`)
12 vipLogger.logByBlank(`${VipColor.greenBright('Git Commit: ')} ${VipColor.green(commit)}`)
13}
14
15void verifyCommitMain()

Callers 1

verify-commit.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected