Skip to content

Refactor `colorize`/`colorizef` functions

Codecov / codecov/patch failed Jan 7, 2025 in 0s

74.35% of diff hit (target 76.08%)

View this Pull Request on Codecov

74.35% of diff hit (target 76.08%)

Annotations

Check warning on line 141 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L141

Added line #L141 was not covered by tests

Check warning on line 150 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L150

Added line #L150 was not covered by tests

Check warning on line 152 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L152

Added line #L152 was not covered by tests

Check warning on line 156 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L155-L156

Added lines #L155 - L156 were not covered by tests

Check warning on line 159 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L158-L159

Added lines #L158 - L159 were not covered by tests

Check warning on line 162 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L161-L162

Added lines #L161 - L162 were not covered by tests

Check warning on line 165 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L164-L165

Added lines #L164 - L165 were not covered by tests

Check warning on line 179 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L179

Added line #L179 was not covered by tests

Check warning on line 218 in output_json.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output_json.go#L218

Added line #L218 was not covered by tests

Check warning on line 395 in output_json.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output_json.go#L395

Added line #L395 was not covered by tests

Check warning on line 414 in output_json.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output_json.go#L414

Added line #L414 was not covered by tests

Check warning on line 417 in output_json.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output_json.go#L417

Added line #L417 was not covered by tests

Check warning on line 420 in output_json.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output_json.go#L420

Added line #L420 was not covered by tests

Check warning on line 423 in output_json.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output_json.go#L423

Added line #L423 was not covered by tests

Check warning on line 271 in output_yaml.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output_yaml.go#L271

Added line #L271 was not covered by tests

Check warning on line 328 in output_yaml.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output_yaml.go#L328

Added line #L328 was not covered by tests