aboutsummaryrefslogtreecommitdiff
path: root/all.bash
diff options
context:
space:
mode:
authorJonathan Amsterdam <jba@google.com>2022-01-31 16:55:24 -0500
committerJonathan Amsterdam <jba@google.com>2022-02-01 13:28:11 +0000
commitcf6808f5d9d8b356cdbc465375e357614a4dd68d (patch)
tree2415b599164df0e95786649a538e5e6c677ffbc1 /all.bash
parenta46155174c3c18de3d54e4b1866909fc48b56788 (diff)
downloadgo-x-pkgsite-cf6808f5d9d8b356cdbc465375e357614a4dd68d.tar.xz
internal/frontend: display vuln list most recent first
Change-Id: I342703673651430c6be19ea52fd35833cbf158ef Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/382094 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
Diffstat (limited to 'all.bash')
-rwxr-xr-xall.bash9
1 files changed, 5 insertions, 4 deletions
diff --git a/all.bash b/all.bash
index 73406288..00b94133 100755
--- a/all.bash
+++ b/all.bash
@@ -143,10 +143,11 @@ check_vet() {
}
# check_staticcheck runs staticcheck on source files.
-check_staticcheck() {
- ensure_go_binary honnef.co/go/tools/cmd/staticcheck
- runcmd staticcheck $(go list ./... | grep -v third_party | grep -v internal/doc | grep -v internal/render)
-}
+# TODO: uncomment when updated to go 1.18
+# check_staticcheck() {
+# ensure_go_binary honnef.co/go/tools/cmd/staticcheck
+# runcmd staticcheck $(go list ./... | grep -v third_party | grep -v internal/doc | grep -v internal/render)
+# }
# check_misspell runs misspell on source files.
check_misspell() {