[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:
Steven
2022-09-01 13:12:41 -04:00
committed by GitHub
parent 13a8a7dbf6
commit 675c3e2915
11 changed files with 48 additions and 52 deletions

View File

@@ -4,7 +4,7 @@ const { statSync } = require('fs');
const pkg = require('../package');
function error(command) {
console.error('> Error!', command);
console.error('> Error:', command);
}
function debug(str) {