Skip to content

Commit c9e9565

Browse files
committed
Fix message when GEI_SKIP_VERSION_CHECK is turned on
1 parent b3cd3ae commit c9e9565

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ado2gh/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private static async Task LatestVersionCheck(ServiceProvider sp)
118118

119119
if (envProvider.SkipVersionCheck()?.ToUpperInvariant() is "TRUE" or "1")
120120
{
121-
Logger.LogInformation("Skipped latest version check due to GEI_VERSION_CHECK environment variable");
121+
Logger.LogInformation("Skipped latest version check due to GEI_SKIP_VERSION_CHECK environment variable");
122122
return;
123123
}
124124

src/bbs2gh/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private static async Task LatestVersionCheck(ServiceProvider sp)
125125

126126
if (envProvider.SkipVersionCheck()?.ToUpperInvariant() is "TRUE" or "1")
127127
{
128-
Logger.LogInformation("Skipped latest version check due to GEI_VERSION_CHECK environment variable");
128+
Logger.LogInformation("Skipped latest version check due to GEI_SKIP_VERSION_CHECK environment variable");
129129
return;
130130
}
131131

src/gei/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private static async Task LatestVersionCheck(ServiceProvider sp)
118118

119119
if (envProvider.SkipVersionCheck()?.ToUpperInvariant() is "TRUE" or "1")
120120
{
121-
Logger.LogInformation("Skipped latest version check due to GEI_VERSION_CHECK environment variable");
121+
Logger.LogInformation("Skipped latest version check due to GEI_SKIP_VERSION_CHECK environment variable");
122122
return;
123123
}
124124

0 commit comments

Comments
 (0)