[ci] format

This commit is contained in:
matthewp 2022-05-12 16:30:41 +00:00 committed by github-actions[bot]
parent e48aa2fd1e
commit 4838c51081
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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:')}`);