summaryrefslogtreecommitdiffhomepage
path: root/tools/nogo
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-08-17 11:02:29 -0700
committergVisor bot <gvisor-bot@google.com>2021-08-17 11:05:59 -0700
commitebf76b30cb46386b7414876b826f8a7fa177ce11 (patch)
treeba7fa2f02bb54400036b5dffdae5b5ce42c1baad /tools/nogo
parentfa32136ac0c3e3bfdb337ed727bedd7455abf68e (diff)
Internal change.
PiperOrigin-RevId: 391331401
Diffstat (limited to 'tools/nogo')
-rw-r--r--tools/nogo/analyzers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/nogo/analyzers.go b/tools/nogo/analyzers.go
index 6705fc905..db8bbdb8a 100644
--- a/tools/nogo/analyzers.go
+++ b/tools/nogo/analyzers.go
@@ -117,11 +117,11 @@ func register(all []*analysis.Analyzer) {
func init() {
// Add all staticcheck analyzers.
for _, a := range staticcheck.Analyzers {
- AllAnalyzers = append(AllAnalyzers, a)
+ AllAnalyzers = append(AllAnalyzers, a.Analyzer)
}
// Add all stylecheck analyzers.
for _, a := range stylecheck.Analyzers {
- AllAnalyzers = append(AllAnalyzers, a)
+ AllAnalyzers = append(AllAnalyzers, a.Analyzer)
}
// Register lists.