Skip to content

Commit db186dd

Browse files
committed
fix: enable strict mode to reproduce previous behavior
1 parent 17504f2 commit db186dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

@commitlint/cli/src/cli.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ const cli = yargs
108108
.usage(`${pkg.name}@${pkg.version} - ${pkg.description}\n`)
109109
.usage(
110110
`[input] reads from stdin if --edit, --env, --from and --to are omitted`
111-
);
111+
)
112+
.strict();
112113

113114
main(cli.argv).catch(err => {
114115
setTimeout(() => {

0 commit comments

Comments
 (0)