Schematic options jsonschema validation fails because of underscore in parsedArgs #19416
Labels
area: @angular-devkit/schematics-cli
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Milestone
angular-cli/packages/angular_devkit/schematics_cli/bin/schematics.ts
Line 262 in 2196454
When using
"additionalProperties": false
in the schema.json for a schematic, validation of arguments fails when invoked via the schematic CLI (in@angular-devkit/schematics-cli@0.1001.4
) as it adds an_
property to the options object.Earlier versions did not fail as the
parsedArgs._
property used to be deleted before invoking the schematic.The text was updated successfully, but these errors were encountered: