mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Sometimes `forest` can be empty if the provided roots are empty, and was leading to a "Cannot read `resolutionPath` of `undefined`" error. Now we check the forest has a tree in it before looking up `resolutionPath`. There might be a separate issue with the fact that the backend script likely shouldn't be emitting an empty forest in the first place. However we already check that a resolution path exists at all, so I think it's fair to also check that a tree was provided. We can separately look into making sure the backend is emitting valid data. PR Close #60403 |
||
|---|---|---|
| .. | ||
| demo-no-zone | ||
| demo-standalone | ||
| ng-devtools | ||
| ng-devtools-backend | ||
| protocol | ||
| shared-utils | ||
| shell-browser | ||