Remove trailing spaces (#7426)

This commit is contained in:
Purnesh Dixit 2024-07-25 12:00:12 +05:30 committed by GitHub
parent 1feeaecf24
commit 47be8a6808
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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