Update HelpersRemoting.psm1‎ to handle an exception better (#27903)

This commit is contained in:
xtqqczze authored and GitHub committed 2026-09-29 12:06:17 -07:00
1 parent f5fd48483f
commit 134c00dda9
1 file changed
+1 -1
@@ -8,7 +8,7 @@
$Script:CIRemoteCred = $null
if ($IsWindows) {
try { $Script:CIRemoteCred = Import-Clixml -Path "$env:TEMP\CIRemoteCred.xml" } catch { }
try { $Script:CIRemoteCred = Import-Clixml -Path "$env:TEMP\CIRemoteCred.xml" } catch { $Script:CIRemoteCred = $null }
}
function Get-DefaultEndPointName