Try another fix

This commit is contained in:
Fedor Korotkiy 2020-02-14 00:04:48 +03:00
parent ffd0ea8700
commit 5d9a1344ca

View file

@ -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