We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34348ac commit 925d09aCopy full SHA for 925d09a
scripts/validate-commits.ts
@@ -73,7 +73,7 @@ export default function (argv: ValidateCommitsOptions, logger: logging.Logger) {
73
}
74
75
for (const [sha, message] of commits) {
76
- if (blacklist.indexOf(sha) !== -1) {
+ if (blacklist.find(i => i.startsWith(sha)) !== -1) {
77
// Some commits are better ignored.
78
continue;
79
0 commit comments