Fix copy-paste error

This commit is contained in:
Gustav
2022-11-21 12:29:16 +01:00
committed by GitHub
parent 65c9d8cb78
commit 256d8547c1

View File

@@ -123,8 +123,8 @@ func GetPkgsInfo(patterns []string, includingDeps bool, flags ...string) (map[st
// It passes the `go list` the flags specified by `flags`.
func GetPkgInfo(pkgpath string, flags ...string) PkgInfo {
return PkgInfo{
PkgDir: GetModDir(pkgpath, flags...),
ModDir: GetPkgDir(pkgpath, flags...),
PkgDir: GetPkgDir(pkgpath, flags...),
ModDir: GetModDir(pkgpath, flags...),
}
}