Skip to content

Commit

Permalink
fix: enable strict mode to reproduce previous behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
armano2 committed Feb 9, 2020
1 parent 17504f2 commit db186dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion @commitlint/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ const cli = yargs
.usage(`${pkg.name}@${pkg.version} - ${pkg.description}\n`)
.usage(
`[input] reads from stdin if --edit, --env, --from and --to are omitted`
);
)
.strict();

main(cli.argv).catch(err => {
setTimeout(() => {
Expand Down

0 comments on commit db186dd

Please sign in to comment.