We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0b9202 commit f2a17bbCopy full SHA for f2a17bb
‎src/functions/public/Auth/Connect-GitHubApp.ps1‎
@@ -196,6 +196,8 @@
196
$contextParams['Enterprise'] = [string]$installation.Target.Name
197
}
198
199
+ $contextParams
200
+ } | ForEach-Object {
201
Write-Verbose 'Logging in using a managed installation access token...'
202
$contextParams | Format-Table | Out-String -Stream | ForEach-Object { Write-Verbose $_ }
203
$contextObj = [GitHubAppInstallationContext]::new((Set-GitHubContext -Context $contextParams.Clone() -PassThru -Default:$Default))
@@ -208,7 +210,7 @@
208
210
209
211
if ($PassThru) {
212
Write-Debug "Passing context [$contextObj] to the pipeline."
- Write-Output $contextObj
213
+ $contextObj
214
215
$contextParams.Clear()
216
0 commit comments