Skip to content

Commit

Permalink
fix(material/schematics): schema error in mdc migration (#28342)
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.

(cherry picked from commit b9450c9)
  • Loading branch information
crisbeto committed Dec 31, 2023
1 parent d3552b7 commit 6feb26d
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 6feb26d

Please sign in to comment.