-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Labels
area: @angular/clifreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Description
Description
The define option is being included multiple times in the JSON help output example: https://github.com/angular/cli-builds/blob/4e015ce6eef338f64ce413547ce046a35ab50a01/help/test.json#L42-L51 which causes the option to be displayed multiple times in angular.dev, see: https://angular.dev/cli/test
Reproduction
ng build --help --json-help | grep '"name": "define"'
"name": "define",
"name": "define",
ng test --help --json-help | grep '"name": "define"'
"name": "define",
"name": "define",
Anything else relevant?
Possibly this could be caused by the option being registered multiple times in yargs, also this applies to another commands not just the ng test.
Metadata
Metadata
Assignees
Labels
area: @angular/clifreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix