We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68325c4 commit 1d0dfecCopy full SHA for 1d0dfec
1 file changed
scripts/verify-staticcheck.sh
@@ -12,6 +12,7 @@ find_packages() {
12
\) -name '*.go' -exec dirname '{}' ';' | sort -u
13
}
14
15
+command -v staticcheck || go install honnef.co/go/tools/cmd/staticcheck@latest
16
errors="$(find_packages | xargs -I@ bash -c "staticcheck @")"
17
if [[ -n "${errors}" ]]; then
18
echo "${errors}"
0 commit comments