From 697a6feb435deb82de9b4094fee71f931edae06f Mon Sep 17 00:00:00 2001 From: naman-contentstack Date: Mon, 9 Dec 2024 13:27:35 +0530 Subject: [PATCH] DX-648, updated the warning message --- .../contentstack/src/hooks/prerun/latest-version-warning.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/contentstack/src/hooks/prerun/latest-version-warning.ts b/packages/contentstack/src/hooks/prerun/latest-version-warning.ts index 03cb777637..9136b5c370 100644 --- a/packages/contentstack/src/hooks/prerun/latest-version-warning.ts +++ b/packages/contentstack/src/hooks/prerun/latest-version-warning.ts @@ -48,7 +48,7 @@ export default async function (_opts): Promise { // Show warning if an update is available and last warning was yesterday if (semver.gt(cache.latestVersion, this.config.version) && cache.lastWarnedDate !== today) { cliux.print( - `You are using version ${this.config.version}, but the latest version is ${cache.latestVersion}. Please update your CLI for the best experience.`, + `You are not using the most recent CLI release. Please update to the latest version for an improved experience.`, { color: 'yellow' }, ); // Update the last warned timestamp