File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/functions/public/Auth Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9696 Write-Debug " [$stackPath ] - Start"
9797 $Context = Resolve-GitHubContext - Context $Context
9898 Assert-GitHubContext - Context $Context - AuthType App
99- $contextObjects = [System.Collections.ArrayList ]::new()
10099 }
101100
102101 process {
198197 }
199198 $contextParams
200199 } | ForEach-Object {
200+ $contextParams = $_.Clone ()
201201 Write-Verbose ' Logging in using a managed installation access token...'
202202 $contextParams | Format-Table | Out-String - Stream | ForEach-Object { Write-Verbose $_ }
203- $contextObj = [GitHubAppInstallationContext ]::new((Set-GitHubContext - Context $contextParams.Clone () - PassThru - Default:$Default ))
203+ $contextObj = [GitHubAppInstallationContext ]::new((Set-GitHubContext - Context $contextParams - PassThru - Default:$Default ))
204204 $contextObj | Format-List | Out-String - Stream | ForEach-Object { Write-Verbose $_ }
205205 if (-not $Silent ) {
206206 $name = $contextObj.Name
You can’t perform that action at this time.
0 commit comments