- Set ErrorActionPreference to Continue before vercel commands to prevent
PowerShell from treating Vercel CLI stderr output (version banner) as
a terminating error and jumping to the catch block prematurely
- Strip ANSI cursor-movement escape codes from output before regex matching
the Production URL (--no-color does not remove cursor movement sequences)
- Convert all 2>&1 output to strings via .ToString() before processing
Made-with: Cursor