Skip to content

Commit 3db742d

Browse files
committed
fix: change error badge text from red to white for readability
Changed failMsgWithBadge to use white text instead of red on red background.
1 parent 7b44151 commit 3db742d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/fail-msg-with-badge.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function failMsgWithBadge(
55
message: string | undefined,
66
): string {
77
const prefix = colors.bgRedBright(
8-
colors.bold(colors.red(` ${badge}${message ? ': ' : ''}`)),
8+
colors.bold(colors.white(` ${badge}${message ? ': ' : ''}`)),
99
)
1010
const postfix = message ? ` ${colors.bold(message)}` : ''
1111
return `${prefix}${postfix}`

0 commit comments

Comments
 (0)