From 47be8a6808cd96f6fb0875c266acf2f3d1981c9c Mon Sep 17 00:00:00 2001 From: Purnesh Dixit Date: Thu, 25 Jul 2024 12:00:12 +0530 Subject: [PATCH] Remove trailing spaces (#7426) --- scripts/vet-proto.sh | 2 +- scripts/vet.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/vet-proto.sh b/scripts/vet-proto.sh index e46be0c8e73d..63a8ac8a7dff 100755 --- a/scripts/vet-proto.sh +++ b/scripts/vet-proto.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash set -ex # Exit on error; debugging enabled. set -o pipefail # Fail a pipe if any sub-command fails. diff --git a/scripts/vet.sh b/scripts/vet.sh index 9db7b9ea35cb..c32b6ea35ecf 100755 --- a/scripts/vet.sh +++ b/scripts/vet.sh @@ -90,7 +90,7 @@ for MOD_FILE in $(find . -name 'go.mod'); do go mod tidy -compat=1.21 git status --porcelain 2>&1 | fail_on_output || \ (git status; git --no-pager diff; exit 1) - + # - Collection of static analysis checks SC_OUT="$(mktemp)" staticcheck -go 1.21 -checks 'all' ./... >"${SC_OUT}" || true