Skip to content

Commit ea030f0

Browse files
authored
Remove unused staticcheck install from presubmit
1 parent ad0706e commit ea030f0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

hack/presubmit.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ set -o pipefail
2020

2121
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
2222

23-
# We can't install in the current directory without changing the current module.
24-
TMP_DIR="$(mktemp -d)"
25-
export PATH="${PATH}:${TMP_DIR}/bin"
26-
export GOPATH="${TMP_DIR}"
27-
pushd ${TMP_DIR}
28-
trap popd EXIT
29-
go install honnef.co/go/tools/cmd/staticcheck@latest
30-
popd
31-
3223
pushd ${PROJECT_ROOT}
3324
trap popd EXIT
3425

0 commit comments

Comments
 (0)