Skip to content

Commit 6feb26d

Browse files
committed
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. (cherry picked from commit b9450c9)
1 parent d3552b7 commit 6feb26d

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

Lines changed: 0 additions & 1 deletion
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)