You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make Register-CfsFeed robust to non-terminating source collision
The 'already added' error is non-terminating and bypasses -ErrorAction Stop (so try/catch never
fires) yet fails the PowerShell task under its default Stop preference. Pre-check Get-PackageSource
(surfaces the collision that Get-PSRepository lazily misses in a fresh session), and suppress all
streams on Register-PSRepository with a post-verify instead of relying on the call to not error.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6ea00b50-c719-469b-bf9c-72120184bfe0
0 commit comments