fix(@angular/cli): use parsed package name for migrate-only updates#32782
Conversation
This change updates the update command to use the parsed package name from `npm-package-arg` instead of the raw input string when performing a 'migrate-only' update. This ensures that package identifiers are correctly and consistently handled.
There was a problem hiding this comment.
Code Review
The pull request correctly updates the update command to use the parsed package name from npm-package-arg when performing a 'migrate-only' update. This ensures that the migrateOnly function receives the correct package identifier, improving the robustness and consistency of the update process. The previous implementation could have passed an unparsed package string or an undefined value, which is now resolved by using the name property from the npa.Result object.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This change updates the update command to use the parsed package name from
npm-package-arginstead of the raw input string when performing a 'migrate-only' update. This ensures that package identifiers are correctly and consistently handled.