From 3754233f38b2c32e8cf120a1c366ab59417b6398 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 28 Feb 2019 12:50:01 -0500 Subject: [PATCH] workflow: add (dx) commit category --- scripts/verifyCommit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verifyCommit.js b/scripts/verifyCommit.js index 97d5386d..5429d6c5 100644 --- a/scripts/verifyCommit.js +++ b/scripts/verifyCommit.js @@ -6,7 +6,7 @@ const msg = require('fs') .readFileSync(msgPath, 'utf-8') .trim() -const commitRE = /^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/ +const commitRE = /^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/ if (!commitRE.test(msg)) { console.log()