Skip to content

Commit

Permalink
Disable strict cli args to empower plugins (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron authored Apr 5, 2022
1 parent a6a6c86 commit 626e786
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ let options = yargs
.option('source-root', { type: 'string', description: 'Override the root directory path where debugger should locate the source files. The location will be embedded in the source map to help debuggers locate the original source files. This only applies to files found within rootDir. This is useful when you want to preprocess files before passing them to BrighterScript, and want a debugger to open the original files.' })
.option('watch', { type: 'boolean', defaultDescription: 'false', description: 'Watch input files.' })
.option('require', { type: 'array', description: 'A list of modules to require() on startup. Useful for doing things like ts-node registration.' })
.strict()
.check(argv => {
const diagnosticLevel = argv.diagnosticLevel as string;
//if we have the diagnostic level and it's not a known value, then fail
Expand Down

0 comments on commit 626e786

Please sign in to comment.