Skip to content

Commit 5d9fd78

Browse files
committed
fix(@angular/cli): remove --to option from being required when using --from in ng update
This change remove the requirement for the `to` option to be provided when using the `from` option in conjunction with `migrate-only`. Closes #24510 (cherry picked from commit 697df4f)
1 parent 9fa5f2c commit 5d9fd78

File tree

1 file changed

+1
-1
lines changed
  • packages/angular/cli/src/commands/update

1 file changed

+1
-1
lines changed

packages/angular/cli/src/commands/update/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class UpdateCommandModule extends CommandModule<UpdateCommandArgs> {
102102
'Version from which to migrate from. ' +
103103
`Only available with a single package being updated, and only with 'migrate-only'.`,
104104
type: 'string',
105-
implies: ['to', 'migrate-only'],
105+
implies: ['migrate-only'],
106106
conflicts: ['name'],
107107
})
108108
.option('to', {

0 commit comments

Comments
 (0)