Skip to content

Commit

Permalink
chore: make vet script less error prone (#2441)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Feb 27, 2024
1 parent 82eaa79 commit 454cba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/kokoro/vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Fail on error, and display commands being run.
set -ex

if [[ $(go version) != *"go1.22"* ]]; then
if [[ $KOKORO_JOB_NAME != *"latest-version"* ]]; then
exit 0
fi

Expand Down

0 comments on commit 454cba5

Please sign in to comment.