From 06e3a1177239af4e33dca9e4e8cd547857af9be1 Mon Sep 17 00:00:00 2001 From: Matt Seddon Date: Thu, 18 Aug 2022 12:47:55 +1000 Subject: [PATCH] Show min tested version in warning message --- extension/src/cli/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/src/cli/version.ts b/extension/src/cli/version.ts index 93d147be19..eddaf1fd71 100644 --- a/extension/src/cli/version.ts +++ b/extension/src/cli/version.ts @@ -36,7 +36,7 @@ const warnIfAheadOfLatestTested = ( ) as ParsedSemver if (currentMajor === latestTestedMajor && currentMinor > latestTestedMinor) { - Toast.warnWithOptions(`The located DVC CLI is at least a minor version ahead of the latest version the extension was tested with. + Toast.warnWithOptions(`The located DVC CLI is at least a minor version ahead of the latest version the extension was tested with (${LATEST_TESTED_CLI_VERSION}). This could lead to unexpected behaviour. Please upgrade to the most recent version of the extension and reload this window.`) }