Skip to content

Commit 763d9ee

Browse files
aalexandnolanmar511
authored andcommitted
Fix staticcheck warning SA6004 that was recently added in the tool (#405)
1 parent ef43755 commit 763d9ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ echo "mode: $MODE" > coverage.txt
88
# All packages.
99
PKG=$(go list ./...)
1010

11-
staticcheck $PKG
11+
staticcheck -ignore '
12+
github.com/google/pprof/internal/binutils/binutils_test.go:SA6004
13+
github.com/google/pprof/internal/driver/svg.go:SA6004
14+
github.com/google/pprof/internal/report/source_test.go:SA6004
15+
github.com/google/pprof/profile/filter_test.go:SA6004
16+
' $PKG
1217
unused $PKG
1318

1419
# Packages that have any tests.

0 commit comments

Comments
 (0)