updateWorkspace rule doesn't detect new targets to targets when empty #15403
Labels
area: @angular-devkit/core
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Anything schematics-related
Is this a regression?
Not that I know of
Description
updateWorkspace
doesn't detect targets that are added to a project that didn't contain any targets yet.🔬 Minimal Reproduction
Use
updateWorkspace
to add a target to an existing project that doesn't already have a target. The new target won't be detected and will not be comitted to disk by the schematic.Repro: https://github.com/bgotink/angular-update-workspace-repro
🔥 Exception or Error
None
🌍 Your Environment
The text was updated successfully, but these errors were encountered: