From ffd0ea87001543e7922423739c089dae5e9e0625 Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Thu, 13 Feb 2020 23:57:12 +0300 Subject: [PATCH] List only go files --- tools/testtool/commands/list.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testtool/commands/list.go b/tools/testtool/commands/list.go index 641a637..52ddaf9 100644 --- a/tools/testtool/commands/list.go +++ b/tools/testtool/commands/list.go @@ -32,9 +32,9 @@ func getPackageFiles(rootPackage string, buildFlags []string) map[string]struct{ for _, f := range p.GoFiles { files[f] = struct{}{} } - for _, f := range p.OtherFiles { - files[f] = struct{}{} - } + //for _, f := range p.OtherFiles { + // files[f] = struct{}{} + //} } return files