-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(toolkit): options requiring arguments fail if not supplied (#2197)
Some options require arguments, but without passing `requiresArg: true` to `yargs` it will happily accept the flag and put `undefined` or an empty string in the value (instead of rejecting the invocation). Add `requiresArg` to a number of options that have this property. Fixes #2192.
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters