From 34c11b8f3f233eca51866274a10d35231e8eb3d4 Mon Sep 17 00:00:00 2001 From: Armano Date: Tue, 11 Feb 2020 06:59:42 +0100 Subject: [PATCH] fix: incorrect use of when in getForcedCaseFn (#993) --- @commitlint/prompt/src/library/get-forced-case-fn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/prompt/src/library/get-forced-case-fn.js b/@commitlint/prompt/src/library/get-forced-case-fn.js index dd4c7fb07e..9cf401910a 100644 --- a/@commitlint/prompt/src/library/get-forced-case-fn.js +++ b/@commitlint/prompt/src/library/get-forced-case-fn.js @@ -30,7 +30,7 @@ export default function getForcedCaseFn(rule) { const [, when] = config; - if (when === 'neve') { + if (when === 'never') { return; }