diff options
| author | Jonathan Amsterdam <jba@google.com> | 2026-03-28 14:40:24 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2026-03-30 13:40:47 -0700 |
| commit | 553cc7bbf577a297ad6e78870316bdf5e4c19e04 (patch) | |
| tree | ca43ec10c3dad724a72312f1afe80026c9d1ba36 /cmd/internal/pkgsite/server.go | |
| parent | ed9f544b260433d32a59bb7e9b52d7cafda78eec (diff) | |
| download | go-x-pkgsite-553cc7bbf577a297ad6e78870316bdf5e4c19e04.tar.xz | |
all.bash: re-enable unparam
It's working now.
Also fix, issues that it detected.
Change-Id: Ifd3fe5baf9a56d31bafe099bf4b38e02356bde21
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/760582
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
Diffstat (limited to 'cmd/internal/pkgsite/server.go')
| -rw-r--r-- | cmd/internal/pkgsite/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/internal/pkgsite/server.go b/cmd/internal/pkgsite/server.go index 32986a54..d1fb19d7 100644 --- a/cmd/internal/pkgsite/server.go +++ b/cmd/internal/pkgsite/server.go @@ -123,7 +123,7 @@ func BuildServer(ctx context.Context, serverCfg ServerConfig) (*frontend.Server, // // An error is returned if any operations failed unexpectedly, or if no // requested directories contain any valid modules. -func getModuleDirs(ctx context.Context, dirs []string, goRepoPath string, allowNoModules bool) (map[string][]frontend.LocalModule, error) { +func getModuleDirs(_ context.Context, dirs []string, goRepoPath string, allowNoModules bool) (map[string][]frontend.LocalModule, error) { dirModules := make(map[string][]frontend.LocalModule) for _, dir := range dirs { output, err := runGo(dir, "list", "-m", "-json") |
