-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit bcaee12
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 bcaee12
1 file changed
+15
-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 | + | ||
231 | + | ||
232 | + | ||
233 | + | ||
234 | + | ||
235 | + | ||
221 | 236 |
| |
222 | 237 |
| |
223 | 238 |
| |
|
0 commit comments