diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-08-17 11:02:29 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-17 11:05:59 -0700 |
commit | ebf76b30cb46386b7414876b826f8a7fa177ce11 (patch) | |
tree | ba7fa2f02bb54400036b5dffdae5b5ce42c1baad | |
parent | fa32136ac0c3e3bfdb337ed727bedd7455abf68e (diff) |
Internal change.
PiperOrigin-RevId: 391331401
-rw-r--r-- | WORKSPACE | 6 | ||||
-rw-r--r-- | tools/nogo/analyzers.go | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -1633,9 +1633,9 @@ go_repository( go_repository( name = "co_honnef_go_tools", importpath = "honnef.co/go/tools", - sum = "h1:EVDuO03OCZwpV2t/tLLxPmPiomagMoBOgfPt0FM+4IY=", - version = "v0.1.1", -) + sum = "h1:Tyybiul3hjaq0dkv+kcf5/MPTfo+ZBiEWrkhgxMPH54=", + version = "v0.3.0-0.dev.0.20210801021341-453cb28c0b15", + ) go_repository( name = "com_github_burntsushi_toml", 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. |