diff --git a/Taskfile.yml b/Taskfile.yml index 2fb2d30..7910bc1 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -36,6 +36,9 @@ tasks: - "**/testdata/**/*" - go.mod - go.sum + env: + # -race needs CGO (https://go.dev/doc/articles/race_detector#Requirements) + CGO_ENABLED: 1 cmds: - go test -race ./... {{.CLI_ARGS}} diff --git a/internal/style/style.go b/internal/style/style.go index e546790..74aad7f 100644 --- a/internal/style/style.go +++ b/internal/style/style.go @@ -8,7 +8,7 @@ import "go.followtheprocess.codes/hue" const ( // Title is the style for titles of help text sections like arguments or commands. - Title = hue.Bold | hue.White | hue.Underline + Title = hue.Bold | hue.Underline // Bold is simply plain bold text. Bold = hue.Bold