Merge pull request #10182 from h3poteto/fix/hack-verify-bazel

Fix to handle exit code of gazelle command in hack/verify-bazel.sh
This commit is contained in:
Kubernetes Prow Robot 2021-01-10 08:23:05 -08:00 committed by GitHub
commit ac082bd091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ gazelle_diff=$("${TOOLS_BIN}/gazelle" fix \
-exclude=hack \
-mode=diff \
-proto=disable \
-repo_root="${KOPS_ROOT}")
-repo_root="${KOPS_ROOT}") || _=$?
if [[ -n "${gazelle_diff}" ]]; then
echo "${gazelle_diff}" >&2