Skip to content

Commit

Permalink
Fix message when GEI_SKIP_VERSION_CHECK is turned on
Browse files Browse the repository at this point in the history
  • Loading branch information
timrogers committed Dec 6, 2023
1 parent b3cd3ae commit c9e9565
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 c9e9565

Please sign in to comment.