Skip to content

Commit ad19051

Browse files
committed
Simplify ANSI coloring
1 parent 228312a commit ad19051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
git checkout -- .
3232
"$@" >/dev/null || true
3333
if ! diff="$(git diff -U1 --color --exit-code)"; then
34-
printf '\n\e[31mError: running `\e[31;1m%s\e[31;22m` results in modifications that you must check into version control:\e[0m\n%s\n' "$*" "$diff" >&2
34+
printf '\n\e[31mError: running `\e[1m%s\e[22m` results in modifications that you must check into version control:\e[0m\n%s\n' "$*" "$diff" >&2
3535
return 1
3636
fi
3737
}

0 commit comments

Comments
 (0)