-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit 4c551e9
refactor(@angular/cli): verify
When running `ng add`, the command will now not only check if a package has schematics but also verify that a schematic named `ng-add` is available in the collection.
This prevents cases where a package has a schematics entry in its `package.json` but does not contain the actual `ng-add` schematic, causing the command to fail.ng-add
schematic exists in ng add1 parent 2c498d2 commit 4c551e9
1 file changed
+10
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
218 | 218 |
| |
219 | 219 |
| |
220 | 220 |
| |
221 | + | ||
222 | + | ||
223 | + | ||
224 | + | ||
225 | + | ||
226 | + | ||
227 | + | ||
228 | + | ||
229 | + | ||
230 | + | ||
221 | 231 |
| |
222 | 232 |
| |
223 | 233 |
| |
|
0 commit comments