diff --git a/src/GitHub/public/Auth/Connect-GitHubAccount.ps1 b/src/GitHub/public/Auth/Connect-GitHubAccount.ps1 index dd1942c3f..a54d58268 100644 --- a/src/GitHub/public/Auth/Connect-GitHubAccount.ps1 +++ b/src/GitHub/public/Auth/Connect-GitHubAccount.ps1 @@ -183,8 +183,8 @@ $accessTokenValue = Read-Host -Prompt 'Enter your personal access token' -AsSecureString $accessTokenType = (ConvertFrom-SecureString $accessTokenValue -AsPlainText) -replace '_.*$', '_*' if ($accessTokenType -notmatch '^ghp_|^github_pat_') { - Write-Warning '⚠ ' -ForegroundColor Yellow -NoNewline - Write-Warning "Unexpected access token format: $accessTokenType" + Write-Host '⚠ ' -ForegroundColor Yellow -NoNewline + Write-Host "Unexpected access token format: $accessTokenType" } $settings = @{ AccessToken = $accessTokenValue