Try another fix
This commit is contained in:
parent
ffd0ea8700
commit
5d9a1344ca
1 changed files with 3 additions and 4 deletions
|
@ -30,11 +30,10 @@ func getPackageFiles(rootPackage string, buildFlags []string) map[string]struct{
|
||||||
files := make(map[string]struct{})
|
files := make(map[string]struct{})
|
||||||
for _, p := range pkgs {
|
for _, p := range pkgs {
|
||||||
for _, f := range p.GoFiles {
|
for _, f := range p.GoFiles {
|
||||||
files[f] = struct{}{}
|
if strings.HasSuffix(f, ".go") {
|
||||||
|
files[f] = struct{}{}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//for _, f := range p.OtherFiles {
|
|
||||||
// files[f] = struct{}{}
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return files
|
return files
|
||||||
|
|
Loading…
Reference in a new issue