Remove extra arg in get

This commit is contained in:
Vorapol Rinsatitnon
2025-08-13 22:08:57 +07:00
parent c7759f4edb
commit 3c131dd2f0
2 changed files with 22 additions and 24 deletions

View File

@@ -226,8 +226,7 @@ func downloadPaths(patterns []string) []string {
base.ExitIfErrors()
var pkgs []string
noModRoots := []string{}
for _, m := range search.ImportPathsQuiet(patterns, noModRoots) {
for _, m := range search.ImportPathsQuiet(patterns) {
if len(m.Pkgs) == 0 && strings.Contains(m.Pattern(), "...") {
pkgs = append(pkgs, m.Pattern())
} else {