Skip to content

refactor(schematics): Don't migrate twice the same file on the self-c… - #60065

Closed
JeanMeche wants to merge 1 commit into
angular:mainfrom
JeanMeche:fix/self-closing-tag-migration
Closed

JeanMeche wants to merge 1 commit into
angular:mainfrom
JeanMeche:fix/self-closing-tag-migration

Conversation

@JeanMeche

Copy link
Copy Markdown
Member

…losing tag migration

This commit fixes an issue when ts files are referenced multiple times (and thus analyzed multiple times) for example from a tsconfig.json and tsconfig.spec.json.

@pullapprove
pullapprove Bot requested a review from atscott February 23, 2025 00:26
@JeanMeche
JeanMeche force-pushed the fix/self-closing-tag-migration branch from 8d66d1d to 027348a Compare February 23, 2025 01:29
@angular-robot angular-robot Bot added the area: migrations Issues related to `ng update`/`ng generate` migrations label Feb 23, 2025
@ngbot ngbot Bot added this to the Backlog milestone Feb 23, 2025
@JeanMeche

JeanMeche commented Feb 23, 2025 •

Copy link
Copy Markdown
Member Author

Note: Not sure how we could have captured this issue in the tests.

@crisbeto

Copy link
Copy Markdown
Member

This came up in the unused imports migration as well. You can see how I was testing it there: #59656.

@atscott
atscott requested review from crisbeto and removed request for atscott February 24, 2025 16:50
…losing tag migration

This commit fixes an issue when ts files are referenced multiple times (and thus analyzed multiple times) for example from a `tsconfig.json` and `tsconfig.spec.json`.
@JeanMeche
JeanMeche force-pushed the fix/self-closing-tag-migration branch from 027348a to e724f34 Compare February 27, 2025 00:44
@JeanMeche

Copy link
Copy Markdown
Member Author

@crisbeto Thanks for the suggestion, I've updated the tests to cover for it !

@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Feb 27, 2025
@mmalerba

Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 265387a.

The changes were merged into the following branches: main, 19.2.x

mmalerba pushed a commit that referenced this pull request Feb 28, 2025
…losing tag migration (#60065)

This commit fixes an issue when ts files are referenced multiple times (and thus analyzed multiple times) for example from a `tsconfig.json` and `tsconfig.spec.json`.

PR Close #60065
@mmalerba mmalerba closed this in 265387a Feb 28, 2025
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Mar 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: migrations Issues related to `ng update`/`ng generate` migrations target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants