Skip to content

Commit

Permalink
fix(material/schematics): schema error in mdc migration (#28520)
Browse files Browse the repository at this point in the history
[A recent change in the CLI](angular/angular-cli#26685) added a `-d` flag to `ng generate` which is the same as the alias for `--directory` in the MDC migration. This caused an error, because the default boolean value from the CLI was being picked up and was failing the schema validation.

These changes remove the alias since it isn't really necessary.

Fixes #28335.
  • Loading branch information
crisbeto authored Feb 1, 2024
1 parent 57e15ff commit 8baf8d5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"type": "string",
"format": "path",
"description": "Workspace-relative path to a directory which will be migrated.",
"alias": "d",
"x-prompt": "Limit the migration to a specific directory? (Enter the relative path such as 'src/app/shared' or leave blank for all directories)"
},
"components": {
Expand Down

0 comments on commit 8baf8d5

Please sign in to comment.