Skip to content

Commit 181fb0f

Browse files
tspascoaltimrogers
andauthored
Apply suggestions from @timrogers code review
Co-authored-by: Tim Rogers <timrogers@github.com>
1 parent f32f5ec commit 181fb0f

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Refer to the [official documentation](https://docs.github.com/en/migrations/usin
8989

9090
### Skipping version checks
9191

92-
When the CLIs are launched, they perform a check to ensure that the latest version is being used and will display a warning message if this is not the case. However, if you wish to skip this check, you can do so by setting the `GEI_SKIP_VERSION_CHECK` environment variable to true. This will prevent the CLIs from checking for the latest version on startup and displaying a warning message.
92+
When the CLI is launched, it logs if a newer version of the CLI is available. You can skip this check by setting the `GEI_SKIP_VERSION_CHECK` environment variable to `true`.
9393

9494
### Skipping GitHub status checks
9595

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 of the ado2gh CLI due to GEI_VERSION_CHECK environment variable");
121+
Logger.LogInformation("Skipped latest version check due to GEI_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 of the bbs2gh extension due to GEI_VERSION_CHECK environment variable");
128+
Logger.LogInformation("Skipped latest version check due to GEI_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 of the gei CLI due to GEI_VERSION_CHECK environment variable");
121+
Logger.LogInformation("Skipped latest version check due to GEI_VERSION_CHECK environment variable");
122122
return;
123123
}
124124

0 commit comments

Comments
 (0)