From c9e956503c9d40fef233fd1b430853db6f485236 Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Wed, 6 Dec 2023 16:03:37 +0000 Subject: [PATCH] Fix message when `GEI_SKIP_VERSION_CHECK` is turned on --- src/ado2gh/Program.cs | 2 +- src/bbs2gh/Program.cs | 2 +- src/gei/Program.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ado2gh/Program.cs b/src/ado2gh/Program.cs index 4a88d6857..3b66f2399 100644 --- a/src/ado2gh/Program.cs +++ b/src/ado2gh/Program.cs @@ -118,7 +118,7 @@ private static async Task LatestVersionCheck(ServiceProvider sp) if (envProvider.SkipVersionCheck()?.ToUpperInvariant() is "TRUE" or "1") { - Logger.LogInformation("Skipped latest version check due to GEI_VERSION_CHECK environment variable"); + Logger.LogInformation("Skipped latest version check due to GEI_SKIP_VERSION_CHECK environment variable"); return; } diff --git a/src/bbs2gh/Program.cs b/src/bbs2gh/Program.cs index 339bcd309..9bff84a9f 100644 --- a/src/bbs2gh/Program.cs +++ b/src/bbs2gh/Program.cs @@ -125,7 +125,7 @@ private static async Task LatestVersionCheck(ServiceProvider sp) if (envProvider.SkipVersionCheck()?.ToUpperInvariant() is "TRUE" or "1") { - Logger.LogInformation("Skipped latest version check due to GEI_VERSION_CHECK environment variable"); + Logger.LogInformation("Skipped latest version check due to GEI_SKIP_VERSION_CHECK environment variable"); return; } diff --git a/src/gei/Program.cs b/src/gei/Program.cs index 4995978ef..41bb46321 100644 --- a/src/gei/Program.cs +++ b/src/gei/Program.cs @@ -118,7 +118,7 @@ private static async Task LatestVersionCheck(ServiceProvider sp) if (envProvider.SkipVersionCheck()?.ToUpperInvariant() is "TRUE" or "1") { - Logger.LogInformation("Skipped latest version check due to GEI_VERSION_CHECK environment variable"); + Logger.LogInformation("Skipped latest version check due to GEI_SKIP_VERSION_CHECK environment variable"); return; }