Skip to content

Commit 0afbecf

Browse files
devversionmmalerba
authored andcommitted
build: fix mdc-migration integration test due to recent CLI update
Fixes the mdc-migration integration test that fails due to the rebase which resulted in the most recent CLI/devkit version being used. The shorter `-c` alias conflicts with the builtin `--collection` option as it seems.
1 parent 6e46076 commit 0afbecf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

integration/mdc-migration/migration-test.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def migration_test(name, srcs, approve):
3131
# See: https://github.com/yarnpkg/yarn/issues/2165.
3232
# TODO(devversion): determine if a solution/workaround could live in the test runner.
3333
"yarn install --cache-folder .yarn_cache_folder/",
34-
"yarn ng generate @angular/material:mdc-migration -c all --tsconfig tsconfig.app.json",
34+
"yarn ng generate @angular/material:mdc-migration --components all --tsconfig tsconfig.app.json",
3535
# TODO(amysorto): add back once MDC components are in @angular/material
3636
# "yarn test",
3737
" ".join([

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
]
4747
},
4848
"description": "The components to migrate.",
49-
"alias": "c",
5049
"x-prompt": {
5150
"message": "What components do you want to migrate?",
5251
"type": "list",

0 commit comments

Comments
 (0)