Skip to content

Commit 926377b

Browse files
alan-agius4mgechev
authored andcommitted
fix(@angular/cli): clarify ng update outdated message
1 parent 864fe94 commit 926377b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class UpdateCommand extends SchematicCommand<UpdateCommandSchema> {
4343
// Check if the current installed CLI version is older than the latest version.
4444
if (await this.checkCLILatestVersion(options.verbose, options.next)) {
4545
this.logger.warn(
46-
'The installed Angular CLI version is older than the latest published version.\n' +
46+
`The installed Angular CLI version is older than the latest ${options.next ? 'pre-release' : 'stable'} version.\n` +
4747
'Installing a temporary version to perform the update.',
4848
);
4949

0 commit comments

Comments
 (0)