Skip to content

Commit 0ead36d

Browse files
committed
fix(@angular/cli): clarify optional migration instructions during ng update
The instructions for when optional migrations are present within an updated package have been adjusted. A sentence has been added to mention that optional migrations can be executed after the update process if preferred and can be skipped for now.
1 parent 88f73eb commit 0ead36d

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,6 +1082,9 @@ export default class UpdateCommandModule extends CommandModule<UpdateCommandArgs
10821082
numberOfMigrations > 1 ? 's' : ''
10831083
} that can be executed.`,
10841084
);
1085+
logger.info(
1086+
'Optional migrations may be skipped and executed after the update process if preferred.',
1087+
);
10851088
logger.info(''); // Extra trailing newline.
10861089

10871090
if (!isTTY()) {

0 commit comments

Comments
 (0)