fix(cli): clean up deployment url output#2960
Conversation
Remove redundant console.log, trailing \n on spinner message, and prepend https:// scheme so the url is clickable in terminal emulators.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Bundle Size ReportComparing against baseline from No bundle size changes detected. |
Unlighthouse Performance Comparison — VercelComparing PR preview deployment Unlighthouse scores vs production Unlighthouse scores. Summary ScoreAggregate score across all categories as reported by Unlighthouse.
Category Scores
Core Web Vitals
|
What/Why?
The
catalyst deploycommand outputs the deployment URL twice — once as a rawconsole.logand again formatted viaconsola.success(). The spinner success message also has a trailing\nthat produces an extra blank line. Additionally, the URL is printed without anhttps://scheme, so it isn't clickable in terminal emulators.This PR:
console.log(data.deployment_url)call\nfrom the spinner success messagehttps://to the displayed URL (with a guard against double-prefixing) and colors it blueTesting
Run
catalyst deployand verify the output shows:Example:

Migration
N/A