Repository navigation
Commit 78e9ee2
committed
fix(@schematics/angular): accept the project as a positional argument in refactor-jasmine-vitest
The karma-to-vitest migration suggests running
`ng g @schematics/angular:refactor-jasmine-vitest <project_name>`, but the
schematic only accepts the project through the `--project` option, so the
suggested command fails with `Unknown argument`.
Read the project from the first positional argument. When it is not provided,
the schematic still uses the only project of the workspace.1 parent bf1602a commit 78e9ee2
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments