Skip to content

Commit 3d889a0

Browse files
armano2marionebl
authored andcommitted
fix(cli): restore condition after refactoring
1 parent 27b1ccd commit 3d889a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

@commitlint/cli/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ function getEditValue(flags: CliFlags) {
290290
if (edit === '') {
291291
return true;
292292
}
293-
if (typeof edit === 'undefined') {
293+
if (typeof edit === 'boolean') {
294294
return false;
295295
}
296296
// The recommended method to specify -e with husky was `commitlint -e $HUSKY_GIT_PARAMS`

0 commit comments

Comments
 (0)