diff --git a/src/extester.ts b/src/extester.ts index a2e08942f..593787f23 100644 --- a/src/extester.ts +++ b/src/extester.ts @@ -128,7 +128,7 @@ export class ExTester { const expectedChromeVersion = (await this.code.checkOfflineRequirements()).split('.')[0]; const actualChromeVersion = (await this.chrome.checkDriverVersionOffline()).split('.')[0]; if (expectedChromeVersion !== actualChromeVersion) { - console.log(`WARNING: Local copy of VS Code runs Chromium version ${expectedChromeVersion}, the installed ChromeDriver is version ${actualChromeVersion}.`) + console.log('\x1b[33m%s\x1b[0m', `WARNING: Local copy of VS Code runs Chromium version ${expectedChromeVersion}, the installed ChromeDriver is version ${actualChromeVersion}.`) console.log(`Attempting with ChromeDriver ${actualChromeVersion} anyway. Tests may experience issues due to version mismatch.`); } } diff --git a/src/util/codeUtil.ts b/src/util/codeUtil.ts index 0b8933532..49a6fb282 100644 --- a/src/util/codeUtil.ts +++ b/src/util/codeUtil.ts @@ -96,7 +96,7 @@ export class CodeUtil { const literalVersion = version === 'latest' ? this.availableVersions[0] : version; if (this.releaseType == ReleaseQuality.Stable && literalVersion !== this.availableVersions[0]) { - console.log(` + console.log('\x1b[33m%s\x1b[0m', ` WARNING: You are using the outdated VSCode version '${literalVersion}'. The latest stable version is '${this.availableVersions[0]}'. `); }