Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: incorrect use of when in getForcedCaseFn (#993)
  • Loading branch information
armano2 committed Feb 11, 2020
1 parent 6f80f70 commit 34c11b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @commitlint/prompt/src/library/get-forced-case-fn.js
Expand Up @@ -30,7 +30,7 @@ export default function getForcedCaseFn(rule) {

const [, when] = config;

if (when === 'neve') {
if (when === 'never') {
return;
}

Expand Down

0 comments on commit 34c11b8

Please sign in to comment.