[ci] format
This commit is contained in:
parent
e48aa2fd1e
commit
4838c51081
2 changed files with 2 additions and 2 deletions
|
@ -83,6 +83,6 @@ export function collectErrorMetadata(e: any): ErrorWithMetadata {
|
|||
}
|
||||
|
||||
// Generic error (probably from Vite, and already formatted)
|
||||
e.hint = generateHint(e);
|
||||
e.hint = generateHint(e);
|
||||
return e;
|
||||
}
|
||||
|
|
|
@ -214,7 +214,7 @@ export function formatErrorMessage(_err: Error, args: string[] = []): string {
|
|||
args.push(`${bgRed(black(` error `))}${red(bold(padMultilineString(err.message)))}`);
|
||||
if (err.hint) {
|
||||
args.push(` ${bold('Hint:')}`);
|
||||
args.push(yellow(padMultilineString(err.hint, 4)));
|
||||
args.push(yellow(padMultilineString(err.hint, 4)));
|
||||
}
|
||||
if (err.id) {
|
||||
args.push(` ${bold('File:')}`);
|
||||
|
|
Loading…
Reference in a new issue