From cb577cb059974c7d7a82b54cf696b3c5e01d7819 Mon Sep 17 00:00:00 2001 From: Leo Hui Date: Mon, 8 Jan 2018 18:06:25 +0800 Subject: [PATCH] fix: remove typo in error message of type-case --- @commitlint/rules/src/type-case.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/rules/src/type-case.js b/@commitlint/rules/src/type-case.js index 2aafad55cf..2a09198e8b 100644 --- a/@commitlint/rules/src/type-case.js +++ b/@commitlint/rules/src/type-case.js @@ -13,6 +13,6 @@ export default (parsed, when, value) => { const result = ensure.case(type, value); return [ negated ? !result : result, - message([`subject must`, negated ? `not` : null, `be ${value}`]) + message([`type must`, negated ? `not` : null, `be ${value}`]) ]; };