feat(packages): @sa/scripts: add ignore pattern list for command gitCommitVerify. close #504

This commit is contained in:
Soybean
2024-07-20 03:16:02 +08:00
parent 0206969e98
commit 958d0baf3f
4 changed files with 18 additions and 4 deletions

View File

@ -75,8 +75,8 @@ export async function setupCli() {
},
'git-commit-verify': {
desc: 'verify git commit message, make sure it match Conventional Commits standard',
action: async () => {
await gitCommitVerify();
action: async args => {
await gitCommitVerify(args?.lang, cliOptions.gitCommitVerifyIgnores);
}
},
changelog: {