1
0
mirror of https://github.com/golang/go synced 2024-11-22 19:34:59 -07:00

cmd/go/internal/modload: omit return at the end of matchPackages

This commit is contained in:
Jes Cok 2023-11-02 14:58:59 +08:00
parent 6a7ef36466
commit 482a14d2b6

View File

@ -213,8 +213,6 @@ func matchPackages(ctx context.Context, m *search.Match, tags map[string]bool, f
}
walkPkgs(root, modPrefix, prune)
}
return
}
// walkFromIndex matches packages in a module using the module index. modroot