yq/pkg
Jérôme Fenal bac7727ec3 fix: TOML colorization now works when NO_COLOR env is set
The colorizeToml function intended to force colors by setting
color.NoColor = false, but SprintFunc() still respects the NO_COLOR
environment variable. This caused TestTomlColourization to fail in
CI environments where NO_COLOR=1 is set.

Fixed by calling EnableColor() on each color object, which explicitly
forces colors regardless of environment settings.

Vibe-coded with Cursor (Claude Opus 4)
2026-01-26 21:54:07 +01:00
..
yqlib fix: TOML colorization now works when NO_COLOR env is set 2026-01-26 21:54:07 +01:00