Skip to content

Commit 34c11b8

Browse files
authoredFeb 11, 2020
fix: incorrect use of when in getForcedCaseFn (#993)
1 parent 6f80f70 commit 34c11b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎@commitlint/prompt/src/library/get-forced-case-fn.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default function getForcedCaseFn(rule) {
3030

3131
const [, when] = config;
3232

33-
if (when === 'neve') {
33+
if (when === 'never') {
3434
return;
3535
}
3636

0 commit comments

Comments
 (0)
Please sign in to comment.