Skip to content

Commit

Permalink
feat: enable strict mode for yargs (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
annahassel authored and AVVS committed Sep 25, 2019
1 parent 114c99f commit 65cde4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ require('yargs')
})
.config(config)
.help()
.strict()
.argv;
1 change: 1 addition & 0 deletions bin/cmds/docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ exports.builder = (yargs) => (
default: './Dockerfile',
normalize: true,
})
.strict()
.help()
);
exports.handler = (argv) => {
Expand Down
1 change: 1 addition & 0 deletions bin/cmds/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ exports.builder = (yargs) => (
string: true,
default: '',
})
.strict()
.help()
);
exports.handler = () => {};

0 comments on commit 65cde4f

Please sign in to comment.