Skip to content

Commit

Permalink
Merge pull request #1178 from github/timrogers/fix-skip-message
Browse files Browse the repository at this point in the history
Fix message when `GEI_SKIP_VERSION_CHECK` is turned on
  • Loading branch information
timrogers authored Dec 6, 2023
2 parents b3cd3ae + c9e9565 commit 7bb569a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ado2gh/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/bbs2gh/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/gei/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7bb569a

Please sign in to comment.