Skip to content

Commit 09db831

Browse files
committed
Make argument parsing strict
1 parent 3478e52 commit 09db831

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/cli.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const yargs = require('yargs');
22
const yargv = yargs
3+
.strict()
34
.usage('Usage: test262-harness [options] <test-file-glob>')
45
.demand('hostType')
56
.describe('hostType', 'eshost host type (ch, d8, jsshell, chrome, firefox, etc.)')

0 commit comments

Comments
 (0)