mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 12:57:46 +00:00
[cli] Change error message from Error! to Error: (#8498)
We have code that tries to detect and highlight errors in the build logs, however it doesn't look for `Error!`, only `Error:`. We could update that highlight code or we could update Vercel CLI to make it consistent. This PR is the latter.
This commit is contained in:
@@ -73,7 +73,7 @@ export class Output {
|
||||
link?: string,
|
||||
action = 'Learn More'
|
||||
) => {
|
||||
this.print(`${chalk.red(`Error!`)} ${str}\n`);
|
||||
this.print(`${chalk.red(`Error:`)} ${str}\n`);
|
||||
const details = slug ? `https://err.sh/vercel/${slug}` : link;
|
||||
if (details) {
|
||||
this.print(`${chalk.bold(action)}: ${renderLink(details)}\n`);
|
||||
|
||||
Reference in New Issue
Block a user