Skip to content

Commit fbfbe28

Browse files
committed
use sed to drop escape codes from zeitgeist output
1 parent c54bfc4 commit fbfbe28

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

hack/verify-external-dependencies-version.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ cd -
3838
# Prefer full path for running zeitgeist
3939
ZEITGEIST_BIN="$(which zeitgeist)"
4040

41+
# TODO: revert sed hack when zetigeist respects CLICOLOR/ttys
4142
CLICOLOR=0 "${ZEITGEIST_BIN}" validate \
4243
--local \
4344
--base-path "${KUBE_ROOT}" \
44-
--config "${KUBE_ROOT}"/build/dependencies.yaml
45+
--config "${KUBE_ROOT}"/build/dependencies.yaml \
46+
2> >(sed -e $'s/\x1b\[[0-9;]*m//g' >&2)

0 commit comments

Comments
 (0)