Skip to content

Commit 70cc08c

Browse files
jirhikerCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9c06f8c commit 70cc08c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def _row_sort_key(row_value):
139139
field = err.get("field", "unknown")
140140
message = err.get("error") or err.get("msg") or "validation error"
141141
prefix = typer.style(" ! ", fg=typer.colors.BRIGHT_YELLOW)
142-
field_part = f"\033[1;38;5;208m{field}:\033[0m"
142+
field_part = typer.style(f"{field}:", fg=typer.colors.BRIGHT_YELLOW, bold=True)
143143
message_part = typer.style(f" {message}", fg=typer.colors.BRIGHT_YELLOW)
144144
typer.echo(f"{prefix}{field_part}{message_part}")
145145
shown += 1

0 commit comments

Comments
 (0)