Skip to content

Commit b9450c9

Browse files
authored
fix(material/schematics): schema error in mdc migration (#28342)
[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.
1 parent 2b3bc8f commit b9450c9

File tree

1 file changed

+0
-1
lines changed
  • src/material/schematics/ng-generate/mdc-migration

1 file changed

+0
-1
lines changed

src/material/schematics/ng-generate/mdc-migration/schema.json

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"type": "string",
99
"format": "path",
1010
"description": "Workspace-relative path to a directory which will be migrated.",
11-
"alias": "d",
1211
"x-prompt": "Limit the migration to a specific directory? (Enter the relative path such as 'src/app/shared' or leave blank for all directories)"
1312
},
1413
"components": {

0 commit comments

Comments
 (0)