We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0706e commit ea030f0Copy full SHA for ea030f0
hack/presubmit.sh
@@ -20,15 +20,6 @@ set -o pipefail
20
21
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
22
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
-
32
pushd ${PROJECT_ROOT}
33
trap popd EXIT
34
0 commit comments