Skip to content

Refactor `colorize`/`colorizef` functions

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

79.12% of diff hit (target 76.08%)

View this Pull Request on Codecov

79.12% of diff hit (target 76.08%)

Annotations

Check warning on line 145 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L145

Added line #L145 was not covered by tests

Check warning on line 147 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L147

Added line #L147 was not covered by tests

Check warning on line 151 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L150-L151

Added lines #L150 - L151 were not covered by tests

Check warning on line 154 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L153-L154

Added lines #L153 - L154 were not covered by tests

Check warning on line 157 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L156-L157

Added lines #L156 - L157 were not covered by tests

Check warning on line 160 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L159-L160

Added lines #L159 - L160 were not covered by tests

Check warning on line 174 in output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

output.go#L174

Added line #L174 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