angular/packages/core/schematics
Lukas Matta a45e6b2b66 fix(migrations): Prevent removal of templates referenced with preceding whitespace characters
In https://github.com/angular/angular/pull/64745, a fix was introduced for templates referenced with a trailing semicolon. However, templates are still incorrectly removed when there are whitespace characters before the template name.

This commit updates the control flow migration logic to ensure templates referenced with preceding whitespace are not removed.

Fixes #64854

(cherry picked from commit 5b210e97af)
2025-11-04 15:26:06 -08:00
..
migrations fix(migrations): Prevent removal of templates referenced with preceding whitespace characters 2025-11-04 15:26:06 -08:00
ng-generate fix(migrations): preserve component imports when pruning NgModules in standalone migration (#64186) 2025-10-02 13:54:15 -07:00
test fix(migrations): Prevent removal of templates referenced with preceding whitespace characters 2025-11-04 15:26:06 -08:00
utils build: rename defaults2.bzl to defaults.bzl (#63384) 2025-08-25 15:45:46 -07:00
BUILD.bazel feat(core): introduce BootstrapContext for improved server bootstrapping (#63636) 2025-09-09 10:45:02 -07:00
collection.json refactor(migrations): keep the control flow migration as ng generate. (#61773) 2025-06-03 07:12:59 -04:00
migrations.json feat(core): introduce BootstrapContext for improved server bootstrapping (#63636) 2025-09-09 10:45:02 -07:00
rollup.config.js build: use rollup directory instead of rollup through @bazel/rollup (#62556) 2025-07-09 16:53:25 -07:00
tsconfig-test.json build: migrate packages/core/schematics to ts_project (#61370) 2025-05-16 11:02:07 +00:00
tsconfig.json build: migrate packages/core/schematics to ts_project (#61370) 2025-05-16 11:02:07 +00:00