Skip to content

Commit 7bb569a

Browse files
authored
Merge pull request #1178 from github/timrogers/fix-skip-message
Fix message when `GEI_SKIP_VERSION_CHECK` is turned on
2 parents b3cd3ae + c9e9565 commit 7bb569a

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)