Output error message to stderr

This commit is contained in:
Tetiana Khotiainsteva committed 2026-06-08 15:37:50 +02:00
1 parent 8cbbb97d02
commit ff68f005f4
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@ function git_find() {
# We need to find right gofmt, otherwise the one in PATH will be used.
gofmt="$(go env GOROOT)/bin/gofmt"
if [[ ! -x "${gofmt}" ]]; then
kube::log::error 'Failed to find gofmt under GOTOOLCHAIN'
echo "Failed to find $gofmt" >&2
exit 1
fi