diff options
Diffstat (limited to 'nix/buildGo')
-rw-r--r-- | nix/buildGo/external/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nix/buildGo/external/main.go b/nix/buildGo/external/main.go index aa4a813d32bd..0bb9fc79ae92 100644 --- a/nix/buildGo/external/main.go +++ b/nix/buildGo/external/main.go @@ -44,6 +44,10 @@ func findGoDirs(at string) ([]string, error) { dirSet := make(map[string]bool) err := filepath.Walk(at, func(path string, info os.FileInfo, err error) error { + if err != nil { + return err + } + name := info.Name() // Skip folders that are guaranteed to not be relevant if info.IsDir() && (name == "testdata" || name == ".git") { |