Skip to content

Use Span ANSI constants in SpanRepo#colorize_trace_header#10

Merged
johngallagher merged 1 commit into
claude/fix-code-smells-o11wKfrom
claude/fix-span-repo-constants-o11wK
Mar 9, 2026
Merged

Use Span ANSI constants in SpanRepo#colorize_trace_header#10
johngallagher merged 1 commit into
claude/fix-code-smells-o11wKfrom
claude/fix-span-repo-constants-o11wK

Conversation

@johngallagher

Copy link
Copy Markdown
Contributor

Replaces locally-defined ANSI escape code variables in SpanRepo#colorize_trace_header with the existing constants from the Span class (Span::CYAN, Span::BOLD, Span::RESET), eliminating duplication.

The method was duplicating CYAN, BOLD, and RESET escape codes that are
already defined as constants on Span. Replace the local variables with
direct references to Span::CYAN, Span::BOLD, and Span::RESET.

https://claude.ai/code/session_01KWZUse79XR68i6nGa8VgTu
@johngallagher johngallagher merged commit b28bea1 into claude/fix-code-smells-o11wK Mar 9, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants