Skip to content

Commit 31fccb2

Browse files
alan-agius4mgechev
authored andcommitted
fix(@angular/cli): clarify ng update outdated message
1 parent 2d9ee82 commit 31fccb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/cli/commands/update-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
212212
// Check if the current installed CLI version is older than the latest version.
213213
if (await this.checkCLILatestVersion(options.verbose, options.next)) {
214214
this.logger.warn(
215-
'The installed Angular CLI version is older than the latest published version.\n' +
215+
`The installed Angular CLI version is older than the latest ${options.next ? 'pre-release' : 'stable'} version.\n` +
216216
'Installing a temporary version to perform the update.',
217217
);
218218

0 commit comments

Comments
 (0)